796 B
796 B
Additional Audio Settings
This document is still in an early stage and will be updated soon.
Pipewire:
tbd
Pulseaudio:
Acoustic Echo Cancellation:
Enable the echo cancel PulseAudio module:
pactl load-module module-echo-cancel \
aec_method=webrtc \
aec_args="analog_gain_control=0 digital_gain_control=1 noise_suppression=1"
Verify that the echo-cancel-source and echo-cancel-sink devices are present:
pactl list short sources
pactl list short sinks
Use the new devices:
# The device names may be different on your system.
# Double check with --list-input-devices and --list-output-devices
python3 -m linux_voice_assistant ... \
--audio-input-device 'Echo-Cancel Source' \
--audio-output-device 'pipewire/echo-cancel-sink'