Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Audio Recording Issue in audio_waveforms v1.0.5(Android) #381

Open
Nehal-1234 opened this issue Dec 14, 2024 · 5 comments
Open

Audio Recording Issue in audio_waveforms v1.0.5(Android) #381

Nehal-1234 opened this issue Dec 14, 2024 · 5 comments
Labels
enhancement New feature or request waiting-for-response Waiting for someone to respond.

Comments

@Nehal-1234
Copy link

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.

@Nehal-1234 Nehal-1234 changed the title Audio Recording Issue in audio_waveforms v1.2.0(Android) Audio Recording Issue in audio_waveforms v1.0.5(Android) Dec 14, 2024
@jay-simformsolutions
Copy link
Collaborator

Hi @Nehal-1234, can you please increase the bitrate and check that the noise is still in the recording sound?

@jay-simformsolutions jay-simformsolutions added the waiting-for-response Waiting for someone to respond. label Dec 18, 2024
@Nehal-1234
Copy link
Author

Nehal-1234 commented Dec 18, 2024

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?

@jay-simformsolutions
Copy link
Collaborator

@Nehal-1234, can you please provide us the value of bit rate you have set?

@Nehal-1234
Copy link
Author

@jay-simformsolutions ,here is the bitRate = 256000 and also I tried with 512000

@jay-simformsolutions
Copy link
Collaborator

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.

@jay-simformsolutions jay-simformsolutions added the enhancement New feature or request label Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request waiting-for-response Waiting for someone to respond.
Projects
None yet
Development

No branches or pull requests

2 participants