75ead2c389 
								
									
								
							
								 
							
						 
						
							
							
								
								Soundd: Give each alert a volume ( #29767 )  
							
							... 
							
							
 
							
							* Give each alert a volume
* Update sound.h 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								2c20a2b5d7 
								
									
								
							
								 
							
						 
						
							
							
								
								sound.h: add #pragma once ( #29567 )  
							
							
 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								2d99521e75 
								
									
								
							
								 
							
						 
						
							
							
								
								cpplint:   `build/include_what_you_use` ( #29556 )  
							
							... 
							
							
 
							
							* include_what_you_use
* remove comments
* include <memory>
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								363740a497 
								
									
								
							
								 
							
						 
						
							
							
								
								cpplint: add `readability/braces` filter ( #29554 )  
							
							
 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								55c156dfb2 
								
									
								
							
								 
							
						 
						
							
							
								
								soundd: set volume on changes ( #29389 )  
							
							... 
							
							
 
							
							* set volume on change
* async set volumn
* Revert "async set volumn"
This reverts commit 7bc88c498353fff158b0de3d1923aa2c0f004a37. 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								0bacd98828 
								
									
								
							
								 
							
						 
						
							
							
								
								soundd: cleanup remnants from running while offroad ( #29006 )  
							
							... 
							
							
 
							
							cleanup 
							
						 
						
							2 years ago  
				
					
						
							
							
								 
						
							
							
								e780cca8b6 
								
									
								
							
								 
							
						 
						
							
							
								
								seldrive: use common sig handler ( #28127 )  
							
							... 
							
							
 
							
							* Update main.cc
* Update util.h
* same for navd 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								0fd8e6f491 
								
									
								
							
								 
							
						 
						
							
							
								
								soundd: increase upper bound for volume level ( #26811 )  
							
							... 
							
							
 
							
							Raise soundd upper limit 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								0c1fbe22b4 
								
									
								
							
								 
							
						 
						
							
							
								
								soundd: increase upper bound for volume level ( #26792 )  
							
							... 
							
							
 
							
							Update sound.cc 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								d64a5020b2 
								
									
								
							
								 
							
						 
						
							
							
								
								soundd: tune volume to reach max at slightly higher noise level  
							
							
 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								fa0bf404c8 
								
									
								
							
								 
							
						 
						
							
							
								
								Update comment on sound.cc volume based(speed ->noise) ( #26719 )  
							
							... 
							
							
 
							
							Update sound.cc 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								de061eacbe 
								
									
								
							
								 
							
						 
						
							
							
								
								soundd: lower max volume breakpoint ( #26673 )  
							
							... 
							
							
 
							
							* revert tune
* remove hanning window
* retune from hanning window
* add hanning back
* update once reached 4096
* Revert "update once reached 4096"
This reverts commit 0898cbeec736916ffaee5e963df048b48636ece5. 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								d087fab2c0 
								
									
								
							
								 
							
						 
						
							
							
								
								micd: apply A-weighting to the sound pressure level ( #26668 )  
							
							... 
							
							
 
							
							* record
* record
* draft
* some clean up
* some clean up
* wishful tuning
* log pressure level (db) for debugging
* fix
* tuning
* ignore complex to real warning
* remove this
* Update selfdrive/ui/soundd/sound.cc
* Update system/micd.py
* remove warning supp
* bump cereal to master
Co-authored-by: Cameron Clough <cameronjclough@gmail.com> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								108ff15f5d 
								
									
								
							
								 
							
						 
						
							
							
								
								micd: scale sound volume with ambient noise level ( #26399 )  
							
							... 
							
							
 
							
							* test changing sound volume
* test changing sound volume
* create system/hardware/pc/hardware.h
* implement Hardware::set_volume using pactl
* soundd: use Hardware::set_volume
* add sounddevice dependency
* sounddevice example
* simple micd
* cleanup
* remove this
* fix process config
* add to release files
* hardware: get sound input device
* no more offroad
* debug
* calculate volume from all measurements since last update
* use microphone noise level to update sound volume
* fix scale
* mute microphone during alerts
* log raw noise level
* hardware: reduce tici min volume
* improve scale
* add package
* clear measurements on muted
* change default to min volume and respond quicker
* fixes
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* logarithmic scaling
* fix
* respond quicker
* fixes
* tweak scaling
* specify default device
* Revert "hardware: get sound input device"
This reverts commit 50f594f7a3bab005023482bc793147a8c8dae5d7.
* tuning
* forgot to update submaster
* tuning
* don't mute microphone, and clip measurement
* remove submaster
* fixes
* tuning
* implement Hardware::set_volume using pactl
* Revert "test changing sound volume"
This reverts commit 4bbd870746ec86d1c9871a6175def96cf7f751a6.
* draft
* draft
* calculate sound pressure level in dB
* fix setting
* faster filter
* start at initial value
* don't run command in background
* pactl: use default sink
* use sound pressure db
* tuning
* bump up max volume threshold
* update filter slower
* fix divide by zero
* bump cereal
Co-authored-by: Shane Smiskol <shane@smiskol.com> 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								02b5b6fe1f 
								
									
								
							
								 
							
						 
						
							
							
								
								soundd: change system sound mixer volume ( #26633 )  
							
							... 
							
							
 
							
							* test changing sound volume
* create system/hardware/pc/hardware.h
* soundd: use Hardware::set_volume
* implement Hardware::set_volume using pactl
* Revert "test changing sound volume"
This reverts commit 4bbd870746ec86d1c9871a6175def96cf7f751a6.
* don't run command in background
* pactl: use default sink 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								1139fe507b 
								
									
								
							
								 
							
						 
						
							
							
								
								Move selfdrive/hardware/ to system/ ( #24725 )  
							
							... 
							
							
 
							
							* move hardware to system/
* fix mypy 
							
						 
						
							3 years ago  
				
					
						
							
							
								 
						
							
							
								cb8885cffb 
								
									
								
							
								 
							
						 
						
							
							
								
								Merge common/ and selfdrive/common ( #24556 )  
							
							... 
							
							
 
							
							* Merge common/ and selfdrive/common
* fix that
* fix version
* fix unit tests 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								f3e67e0ec2 
								
							
								 
							
						 
						
							
							
								
								repeat immediate warning sound  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								d28622f8d3 
								
							
								 
							
						 
						
							
							
								
								Revert "soundd: use setLoopCount(0) to stop repeating sound ( #23076 )"  
							
							... 
							
							
 
							
							This reverts commit 35885745f1 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								1501c2e376 
								
									
								
							
								 
							
						 
						
							
							
								
								whole new family ( #23157 )  
							
							... 
							
							
 
							
							* family two
* more volume
* repeating dm sound
* update tests 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								20f571db3c 
								
									
								
							
								 
							
						 
						
							
							
								
								UI: move rest of NVG to Qt ( #23133 )  
							
							... 
							
							
 
							
							* move ui_draw_world to qt
* draw world if world_objects_visible is true
* cleanup
* cleanup includes
* continue
* cleanup
* cleanup
* enable  multisampling on all devices 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								35885745f1 
								
									
								
							
								 
							
						 
						
							
							
								
								soundd: use setLoopCount(0) to stop repeating sound ( #23076 )  
							
							... 
							
							
 
							
							* use setLoopCount(0) to stop sound
* print default backend name 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								bc4ae3f587 
								
							
								 
							
						 
						
							
							
								
								soundd: max volume at 20m/s  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								3b367e6872 
								
									
								
							
								 
							
						 
						
							
							
								
								Newer sounds ( #23091 )  
							
							... 
							
							
 
							
							* new prompt sound
* padding
* prompt distracted
* debug
* fix spelling
* lower min volume
* better volume at low speeds
* revert debug
* revert that
* fix tests
* update refs
Co-authored-by: Comma Device <device@comma.ai> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								e679d05d9e 
								
									
								
							
								 
							
						 
						
							
							
								
								New sounds ( #22652 )  
							
							... 
							
							
 
							
							* new engage/disengage + amp config
* first family
* cleanup audible alerts
* tici isn't special
* fix up debug cycle alerts
* these were better
* extend range
* use distracted sound
* log scaling
* getting closer
* slightly louder
* prompt
* update tests
* update refs
* fix c2 test
* resolve todo
* adjust tolerance
* revert for now
* should work
Co-authored-by: Comma Device <device@comma.ai> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								ed8e6f857c 
								
									
								
							
								 
							
						 
						
							
							
								
								soundd: configure as persistent process ( #22878 )  
							
							... 
							
							
 
							
							* soundd: configure as persistent process
* update c2 test
* fix that
* little more
Co-authored-by: Comma Device <device@comma.ai> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								445a5aaca4 
								
									
								
							
								 
							
						 
						
							
							
								
								soundd: don't loop controls unresponsive sound infinitely ( #22839 )  
							
							... 
							
							
 
							
							* soundd: don't loop controls unresponsive sound infinitely
* update tests
* actually fix 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								797bb1acb0 
								
									
								
							
								 
							
						 
						
							
							
								
								soundd: misc cleanup + tests ( #22796 )  
							
							... 
							
							
 
							
							* pass AudibleAlert to setAlert
* apply reviews
* remove trailing underscore
* add current_alert_type
* common function get_alert
* same freq as ui
* small cleanup
* setvolumne on change
* static Alert::get
* test_sounds
* remove old test files
* loop twice
* assert loopsRemaining
* assert stop
* init to min_volumne
* Revert "remove old test files"
This reverts commit 12e8bfefae1ae7f8649d3eda1e4126ff8eb1fe17.
* move to ui/soundd
* move test to tests/test_sound.cc
* remove old tests
* cleanup
* lower volume
* Revert "remove old tests"
This reverts commit e6bb12abfa3d5cd0aa8986d2b8da0b1edc7ea31b.
* return Alert
* cleanup
* remove #include <optional>
* cleanup .gitignore
* revert to std::optional
* Revert "revert to std::optional"
This reverts commit a66291c51f3a846652837cc4a43d5d60dd81896b.
* cleanup
* remove volume check
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								b7394c6171 
								
							
								 
							
						 
						
							
							
								
								soundd: use offscreen platform to avoid initialzing gpu stuff  
							
							
 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								3a578cb5b5 
								
									
								
							
								 
							
						 
						
							
							
								
								fix cd in process scripts ( #21806 )  
							
							... 
							
							
 
							
							* ui: fix cd in launch script
* do the rest
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								12948e661a 
								
									
								
							
								 
							
						 
						
							
							
								
								soundd ( #21619 )  
							
							... 
							
							
 
							
							* refactor alerts
* doesn't go here anymore
* soudd
* handle controls unresponsive
* same check
* fix path
* update sound test
* nice
* fix c2
* add script
* update tests
Co-authored-by: Comma Device <device@comma.ai> 
							
						 
						
							4 years ago  
				
					
						
							
							
								 
						
							
							
								5c9afcc785 
								
							
								 
							
						 
						
							
							
								
								selfdrive/sensord  
							
							
 
							
						 
						
							6 years ago