Adeeb Shihadeh
							
						 | 
						
							
							
							
							
								
							
								4b78e52e34
								
							
								
							
						 | 
						
							
							
								
								cleanup old sm pm args (#30241)
							
							
							
							
							
							
							
							* cleanup sm pm
* fix controlsd
* fix
old-commit-hash: b68cfbb332 
							
						 | 
						
							2 years ago | 
						
					
				
					
						
							
							
								 
								Justin Newberry
							
						 | 
						
							
							
							
							
								
							
								c4f322ce2d
								
							
								
							
						 | 
						
							
							
								
								Linter: remove pylint (#29611)
							
							
							
							
							
							
							
							remove pylint
old-commit-hash: 1ee6ed4b16 
							
						 | 
						
							2 years ago | 
						
					
				
					
						
							
							
								 
								Adeeb Shihadeh
							
						 | 
						
							
							
							
							
								
							
								16ec56398c
								
							
								
							
						 | 
						
							
							
								
								add openpilot prefix to imports (#29498)
							
							
							
							
							
							
							
							* add openpilot prefix to imports
* more
* more
* fix docs
* fix linter
* bump submodules
* fix patched tests
* update dynamic imports
* debug
* Revert "debug"
This reverts commit db5e13b991.
* fix pm test
old-commit-hash: a9626f95b6 
							
						 | 
						
							2 years ago | 
						
					
				
					
						
							
							
								 
								Cameron Clough
							
						 | 
						
							
							
							
							
								
							
								cc0090c8d2
								
							
								
							
						 | 
						
							
							
								
								fix micd input device (#27160)
							
							
							
							
							
							
							
							* try no device
* unused
* move sounddevice import
old-commit-hash: feba2f3fe5 
							
						 | 
						
							3 years ago | 
						
					
				
					
						
							
							
								 
								Shane Smiskol
							
						 | 
						
							
							
							
							
								
							
								43a80f7dd8
								
							
								
							
						 | 
						
							
							
								
								Micd: update sound levels in callback (#26674)
							
							
							
							
							
							
							
							* update once reached 4096
* update once reached 4096
* reduce
* debug & cmt
* fix
* fifo again
* fix
* clean that up
* update filter on demand
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 20dba2f33d 
							
						 | 
						
							3 years ago | 
						
					
				
					
						
							
							
								 
								Shane Smiskol
							
						 | 
						
							
							
							
							
								
							
								16859211f5
								
							
								
							
						 | 
						
							
							
								
								micd: revert check playing sound (high cpu usage) (#26672)
							
							
							
							
							
							
							
							* don't use hardware
* check micd proc
* use pactl package
* cleanup
* Revert "cleanup"
This reverts commit baf9887e2d.
* Revert "use pactl package"
This reverts commit 0c1f3a4b86.
* Revert "micd: don't update filtered sound level if playing sound (#26652)"
This reverts commit 6703f6fa0297ad587ce80fcf1af432c402ba4e7e.
* Revert "check micd proc"
This reverts commit 9ebbe2aa42.
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
old-commit-hash: 060b69ee2f 
							
						 | 
						
							3 years ago | 
						
					
				
					
						
							
							
								 
								Shane Smiskol
							
						 | 
						
							
							
							
							
								
							
								4548cf9592
								
							
								
							
						 | 
						
							
							
								
								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 0898cbeec7.
old-commit-hash: de061eacbe 
							
						 | 
						
							3 years ago | 
						
					
				
					
						
							
							
								 
								Shane Smiskol
							
						 | 
						
							
							
							
							
								
							
								4dfeb1ddeb
								
							
								
							
						 | 
						
							
							
								
								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>
old-commit-hash: d087fab2c0 
							
						 | 
						
							3 years ago | 
						
					
				
					
						
							
							
								 
								Cameron Clough
							
						 | 
						
							
							
							
							
								
							
								8242a86d96
								
							
								
							
						 | 
						
							
							
								
								micd: don't update filtered sound level if playing sound (#26652)
							
							
							
							
							
							
							
							* add is_sound_playing to hardware.py
* micd: don't update filtered sound level if playing sound
old-commit-hash: 86cd919a57 
							
						 | 
						
							3 years ago | 
						
					
				
					
						
							
							
								 
								Cameron Clough
							
						 | 
						
							
							
							
							
								
							
								9bcf83f493
								
							
								
							
						 | 
						
							
							
								
								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 4bbd870746.
* 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>
old-commit-hash: 108ff15f5d 
							
						 | 
						
							3 years ago |