Phone call with noise canceling via RPI + Patchbox OS

Hi, I new into this field. Do anyone here know if it is doable to plug my headset into a RPI running Patchbox OS and via software process my voice (mic from the headset) to filter out noise and route the output to an audio channel with a TRRS cable that is plugged into an Android mobile and all of this being used in a phone call ?

Im asking that because Im tired of looking for a good headset that have builtin ANC on it. All of then does not solve my case. There is a lot of noise around here and Im sure there are better softwares out there capable of filtering out these noises from my phone calls.

So this is the chain Im thinking of:

headset(with mic) -TRRS cable-- usb audio dongle 1— RPI + Patchbox OS --usb audio dongle 2 – TRRS cable ---- Android Mobile Phone

Hope someone can shed some light on this topic.

Note: I found this filter, maybe this can be used ? https://www.youtube.com/watch?v=2DEw--uJv6M&t=6s

Thank you!

Fabiano

Patchbox OS on its own will not help you in this directly - it has some customizations on top of Raspberry Pi OS tailored for audio purposes, such as preconfigured Jack backend.

So my first suggestion would be not to focus on Patchbox OS directly, but rather on Linux itself - most of the information is quite general and applies to your use case - if you see open source code meant to be run on Linux, there’s very good chances you could build and run the code on a Raspberry Pi. You’ll have to fill the gaps / build the bridges to make everything work like you want on your own. For configuring specific software, best to look around at the communities & mailing lists related to that software.

For the purposes of processing audio, a single stereo input and a single stereo output audio card would be enough - best to use a single audio card with the required number of inputs and outputs for your use case, using multiple soundcards at once could be difficult to configure properly.