Echo doesn't cancel with PortAudio
Hey!
Recently I created Rust bindings to speex for acoustic echo cancellation.
I packaged it into python library as well.
It works well with wav
file but when trying to cancel echo with PortAudio in Python it doesn't cancel it.
I'm not sure what I'm missing, maybe it's related to filter_length? this is the Python code:
microphone.py (The instruction to run on top)
It uses speex_echo_cancellation
and speex_preprocess_run
in lib.rs