rhasspy / wyoming-satellite

Remote voice satellite using Wyoming protocol
MIT License
605 stars 88 forks source link

How to subtract music available in Pulseaudio stream! #137

Open bektorkhan opened 6 months ago

bektorkhan commented 6 months ago

Playing music is probably a normal operation. I can't see any way to subtract the music playing from the mic stream. It is available in as Snapcastclient playback.stream. So with some level and latency settings it should be possible to subtract the music playing from the recorded mic stream!? I am a retired radiation engineer, but not so skilled and focused anymore, any tips?

danielk117 commented 6 months ago

With Alsa I'm using https://github.com/dr-ni/aec_cmdline. I also tried https://github.com/voice-engine/ec but with aec_cmdline I've got better results.