Canardoux / flutter_sound

Flutter plugin for sound. Audio recorder and player.
Mozilla Public License 2.0
874 stars 569 forks source link

[HELP]:AGC gain control and noise suppression configuration #1099

Open LarryWangCA opened 1 week ago

LarryWangCA commented 1 week ago

Hi @Larpoux ,

I have a problem when developing a measurement-related app. I hope to get the raw audio data and the system do not provide any additional processings. However, I noticed that sometimes the system applies automatic gain. Does Flutter Sound support AGC and noise suppression control? OR does it currently use an audio source unprocessed on Android and avaudiosessionmodemeasurement in iOS? If not, Could we support such a configuration?

Thank you in advance for your help.

Best,

Larry

Larpoux commented 1 week ago

Hi Larry, It's difficult for me to answer, because I am not an audio engineer and I do not master all those things like AGC, noise suppression, and the like. The only thing that I can say is that Flutter Sound does nothing special in this area and everything is done by the OS itself.

BTW : actually I am busy working on Flutter Sound v10.0 . In this future version it will be very easy to insert processing nodes between the source node and the destination node. Also it will be simple to insert an Analyzer node to analyze the audio signal without processing it. Everything will be based on the W3C Web Audio API. But don't expect this new version soon : I am very slow to develop and this is a huge work for me alone. Perhaps I will be able to release an alpha version in one or two months but just for Flutter Web. I expect to release the whole thing first or second quarter of next year.