Canardoux / flutter_sound

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

Reduce background noise while recording. #956

Open AbhishekYadav03 opened 1 year ago

AbhishekYadav03 commented 1 year ago

Normalize audio recording or reduce background noise while recording.

Is your feature request related to a problem? Please describe. When I record sound from my flutter app it has a lot of background noise but when I recorded from the default recorder app the sound was very good.

Describe the solution you'd like

await _audioRecorder.startRecorder(
    codec: Codec.aacADTS,
    toFile: audioFile.path,
    audioSource: AudioSource.microphone,
    noiseReduction: true,
);

Describe alternatives you've considered We can convert audio after the recording is completed using ffmpegKit

Additional context This feature will increase sound recording quality.

rezmeplxrf commented 1 year ago

Hi I also use this package and I solved this issue by increasing the bit rate and sample size. I've noticed that default bit rate and sample size are really low.

anukools commented 1 year ago

@AbhishekYadav03 I could not find noiseReduction parameter ?

Whether you were able to reduce noise anyhow while recording ?

AbhishekYadav03 commented 1 year ago

No, I'm not able to reduce the noise while recording. The noiseReduction: true, is a suggestion.

JUANITOTELO commented 1 year ago

You could try changing the codec for linear16pcm, with a sample rate of 41000, that works for me.

ayesha-119 commented 1 year ago

@AbhishekYadav03 hello , i need your little help with one of your repo , sound recorder, can you please tell me how can i connect with you?

github-actions[bot] commented 9 months ago

This issue is stale because it has been open 90 days with no activity. Leave a comment or this will be closed in 7 days.

alexgrusu commented 2 months ago

any update on this?

Larpoux commented 2 months ago

Thanks to remind me this point. There are so many Open Issues that I am completely lost in this mess. I restarted the Kanban Table so that it will help me for the project Management. Probably good if Flutter Sound users ping me to remind me that their issues are not yet solved.

For your point, you will see that your issue is in the Todo in 10.0 column : actually I am overloaded with Flutter Sound 9.x maintenance, and I would like to release 10.0 in a not so much long time. So I prefer focus on 10.0 and not do enhancement in 9.x