In Android SpeechRecognizer emits (horrible) BIP sound when starting and ending recognition.
This by design but it would be awesome to be able to remove / mute these bips.
Any news on that @MacKentoch ?
I would also like to remove that sound.
This would be a nice option.
@ghsdh3409 Ping. Time to sync with upstream?
have u been able to do that?
I (big) while ago, I made a plugin for Cordova, and came up with a dirty hack to turn the volume off while recognizing and turn it back on when done. It's not the best solution but it works fine for now. I don't know exactly how to implement it now because it's been ages since I work with android, but just for the heck of it, here's the code of that class: https://github.com/dalvallana/ContinuousSpeechRecognizer/blob/master/src/android/ContinuousSpeechRecognizer.java. Look for the mStreamVolume variable.
any update?
I also need such a function
any update?
Any update on this??
any Updateee?
Any update?
+1
any update
@MacKentoch Did you solved your problem?
Hello Guyz
i found a Hack to do this
just simply set your phone volume to 0 before listening start.
https://www.npmjs.com/package/react-native-system-setting
check this out
@lfoliveir4 no but try @vaibhgupta09 hack.
This is by design in Android: recording audio triggers a BIP sound -system does it - (should be related to legal reasons I guess).
So hacking is the only way to bypass as far as I know
I'm not sure it's good idea to avoid that sound. This makes user to know about listening and as far as this library can start listen without user action it's better to keep BIP sound turned on.
But it would be good if I could change that sound. I've seen solution for Android API. Maybe I will try it later
bump
wait this option
any update?
Any updates?
Down vote
I really don't want this option exist in any RN project. It's not intuitively way to interact with client.
Most helpful comment
Hello Guyz
i found a Hack to do this
just simply set your phone volume to 0 before listening start.
https://www.npmjs.com/package/react-native-system-setting
check this out