audio_waveforms
audio_waveforms copied to clipboard
Audio Recording Issue in audio_waveforms v1.0.5(Android)
Describe the bug When recording audio using the audio_waveforms package (version ^1.0.5), the recorded voice is not captured properly on Android devices. The recording includes unintended background noise or other external sounds that should not be part of the recording. This issue is not present on iOS devices, where the recording works as expected.
To Reproduce Steps to reproduce the behavior:
Go to the part of the app where audio recording is implemented.
Tap on the 'Record' button to start recording audio.
Speak into the device's microphone.
Stop the recording and play it back.
Notice that the recorded audio contains additional background sounds or unintended noise on Android devices.
Expected Behavior The recorded audio should only capture the user's voice without any additional noise or interference. This behavior is already achieved on iOS devices but not on Android.
Smartphone (please complete the following information):
Device: Samsung Galaxy S23, Vivov2025, OPPO F15
OS: [Android 11 to 14]
Version: [ audio_waveforms v1.0.5]
Screenshots see the difference between Android and iOS :
Additional Context This issue is specific to Android devices and does not affect iOS devices.
Hi @Nehal-1234, can you please increase the bitrate and check that the noise is still in the recording sound?
Yes @jay-simformsolutions , I increased the bitrate, but the noise issue persists. I also tested it with version 1.1.0, but there was no improvement. The app is live, and we are receiving complaints from Android users. Can you please help resolve this issue?
@Nehal-1234, can you please provide us the value of bit rate you have set?
@jay-simformsolutions ,here is the bitRate = 256000 and also I tried with 512000
Hi @Nehal-1234, We currently record audio using MediaRecorder. However, to add noise suppression functionality, we need to change the class from MediaRecorder to AudioRecord, which will require more effort.
But we will take your issue as an enhancement and add a noise suppression feature as well.
Thanks for filling this issue.