• WANTED: Happy members who like to discuss audio and other topics related to our interest. Desire to learn and share knowledge of science required. There are many reviews of audio hardware and expert members to help answer your questions. Click here to have your audio equipment measured for free!

Some feedback on this feedback cancellation program in android?

mahaju

New Member
Joined
Jan 16, 2024
Messages
3
Likes
0
This is based on Liveeffect sample project by Google and uses AAudio library for audio

It uses NLMS filters to estimate feedback path between speaker and microphone, and uses this estimate to remove just the feedback part from the incoming (signal+feedback) audio coming in through the mic. Earphone is deliberately kept close to the mic in to ensure feedback howling occurs. The same audio signal goes out to both the left and right earbuds, so I can generate feedback noise using one of the earbuds while listening to whatever audio the phone is outputting on the other one. The hardware setup looks something like this:

rich text editor image

The phone volume has been slightly reduced from maximum level, since I couldn't get this program to work at all for max volume.

!!! Loud noise: reduce volume !!!​

I've uploaded a demo of the app here:
The actual feedback cancellation (FBC) part starts at around 0:22 sec and everything before that is just preparation so if you'd like to skip it just click here:

The video has sections of loud feedback howling so either do not use headsets or turn down the volume.

The app starts off with FBC turned on but the demo goes back and forth between FBC being toggled on and off. Speech is being played nearby the smartphone so you can hear what speech sounds like with and without the FBC.

Any feedback on the demo will be appreciated. I especially want to discuss the causes of the "echoey" effect which seems to go away if I bypass the FBC process. I am wondering if other feedback cancellation methods have this, if this is something inherent to the NLMS process, or if I am doing something wrong.
 

Attachments

  • app_screenshot.png
    app_screenshot.png
    32.3 KB · Views: 46
Back
Top Bottom