Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Disable "beep" sound on start and stop of speech recognition #123

Open
snehakale47 opened this issue Jun 20, 2022 · 0 comments
Open

Disable "beep" sound on start and stop of speech recognition #123

snehakale47 opened this issue Jun 20, 2022 · 0 comments

Comments

@snehakale47
Copy link

Hi

Is there any way to disable the beep sound on start and stop of speech recognition in ionic app for android and ios platform ?

I have tried to add the following code in "SpeechRecognition.java" file from "cordova-plugin-speechrecognition" from plugins and node modules folders
AudioManager audioManager = (AudioManager) context.getSystemService(Context.AUDIO_SERVICE);
audioManager.adjustStreamVolume(AudioManager.STREAM_MUSIC, AudioManager.ADJUST_MUTE, 0);

But nothing happens. Could you please help us to disable beep sound in ionic app?

We look forward to hearing from you on this question.

Thank you in advance!

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

No branches or pull requests

1 participant