MycroftAI / enclosure-picroft

Mycroft interface for Raspberry Pi environment
https://mycroft.ai/documentation/picroft
GNU Lesser General Public License v3.0
803 stars 191 forks source link

PS3 Eye /etc/pulse/default.pa Settings AEC #130

Closed StuartIanNaylor closed 4 years ago

StuartIanNaylor commented 4 years ago

https://community.mycroft.ai/t/ps3-eye-best-settings/8152/5?u=stuartiannaylor

Tack on the end of /etc/pulse/default.pa

### Enable Echo/Noise-Cancellation
load-module module-echo-cancel use_master_format=1 aec_method=webrtc aec_args=“analog_gain_control=0 digital_gain_control=1 agc_start_volume=85 high_pass_filter=1 noise_suppression=1 voice_detection=1 beamforming=1 mic_geometry=-0.03,0,0,-0.01,0,0,0.01,0,0,0.03,0,0” source_name=echoCancel_source sink_name=echoCancel_sink

set-default-source echoCancel_source
set-default-sink echoCancel_sink

Will help especially when playing audio, but see what you think as maybe should be default if PS3 Eye is chosen on setup. Its only the beamforming that is PS3 eye specific as placed as an issue, even though not as notexactly sure if its beneficial for all as long as each has its own mic_geometry

StuartIanNaylor commented 4 years ago

Given up with the pulse-audio beamforming as now tried every option and generally it creates a worse volume than just the multistream aec part.