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

Quiet voice results in null audio file. #56

Open
stevewinn74 opened this issue Sep 13, 2020 · 2 comments
Open

Quiet voice results in null audio file. #56

stevewinn74 opened this issue Sep 13, 2020 · 2 comments

Comments

@stevewinn74
Copy link

I'm building an app where recording the user is part of the functionality (for accent analysis) and for the most part this competent works well.

However, for some devices (P20 Pro, I'm looking at you), the microphone input is very quiet unless the user shouts into the primary mike. The secondary mike seems not to be used.

When a user is too quiet, typically this results in recorder.GetAudioFilePath() being NULL. This is frustrating for the users to have to repeat themselves and raise their voice.

Is there any way around this?
Will changing the silence threshold help (we are using manual start/stop record)?
Can we activate all the microphones on a users phone (there is another on the top)?

Any advice from anyone would help.

@stevewinn74 stevewinn74 changed the title Which microphone is used? Quiet voice results in null audio file. Sep 13, 2020
@ali-h2010
Copy link

i have the same issue in iPhone 11 Pro max. What could be the reason? in the simulator, the voice is clear.

@BramFP
Copy link

BramFP commented Jul 17, 2021

You should set the SilenceThreshold to 0, this defaults to 0.15 as can be seen in the README which causes a silent recording to register as nothing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants