Skip to content

Instantly share code, notes, and snippets.

@danielmarbach
Created June 1, 2023 11:09
Show Gist options
  • Save danielmarbach/41502885b341682a92a8a4b6e0a69f14 to your computer and use it in GitHub Desktop.
Save danielmarbach/41502885b341682a92a8a4b6e0a69f14 to your computer and use it in GitHub Desktop.
Echo Cancellation Fedora 38
pactl list | grep -A2 'Source #' | grep 'Name: ' | cut -d" " -f2
nano ~/.config/pipewire/pipewire.conf.d/echo-cancel.conf
context.modules = [
{ name = libpipewire-module-echo-cancel
args = {
library.name = aec/libspa-aec-webrtc
monitor.mode = true
aec.args = {
webrtc.extended_filter = true
webrtc.delay_agnostic = true
webrtc.high_pass_filter = true
webrtc.noise_suppression = false
webrtc.voice_detection = false
webrtc.gain_control = false
webrtc.experimental_agc = false
webrtc.experimental_ns = false
}
audio.channels = 1
capture.props = {
node.name = "DJI Mic Echo Capture"
node.description = "DJI Mic Echo Capture"
node.passive = true
target.object = "alsa_input.usb-DJI_Technology_Co.__Ltd._Wireless_Microphone_RX-00.analog-stereo"
}
source.props = {
node.name = "DJI Mic Source"
node.description = "DJI Mic Source Echo Cancelled"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment