Comments (8)
I have the same problem with my iOS app! Anyone got a fix??? Please HELP!
Here's what happened to me:
***** This is only if you are using the sound from your phone... It works flawlessly with headphones or speakers plugged in. *****
-Audio is at full volume when I open the app on my iPhone, and then as soon as I push my "Start Speech Recognition" button, the volume goes down to a VERY low level.
-I can manually get the volume back up to about 60% of the original volume by following these steps:
- Click the "Start Speech Recognition" button
- Swipe up from bottom of iPhone to bring up iOS control centre
- Swipe left to see the music and audio controls
- At the bottom, tap "iPhone"
- Switch the output to "iPhone Speaker" (Which is not available when I first open my app)
from cordova-plugin-speechrecognition.
I have the same problem, too. HELP!
from cordova-plugin-speechrecognition.
[session setCategory:AVAudioSessionCategoryPlayAndRecord withOptions:AVAudioSessionCategoryOptionDefaultToSpeaker error:&err];
[session setMode:AVAudioSessionModeDefault error:&err];
Finally, I got a solution. In my case, the second line recovered the low volume.
from cordova-plugin-speechrecognition.
Hi nice2seeu,
how did you change the code? Did you use an av-audio-session plugin in addition?
How can I solve it with Javascript?
Thanks for your help and best regards
from cordova-plugin-speechrecognition.
@pbakondy this appears still to be an issue. I have a new Ionic 4 app using the plugin and if I play TTS when the app starts up it plays at a normal level. Once speech recognition is called and then TTS is played again, the volume sounds like it is cut in half. This is 1.2.0
from cordova-plugin-speechrecognition.
Problem still continues. Any solution?
from cordova-plugin-speechrecognition.
I confirm the same. Has the pointed fix (also related in other "volume" on this issues tracker) has been properly merged and distributed on the latest npm release?
Thanks
from cordova-plugin-speechrecognition.
I report a workaround that is to play an empty string ''
everytime before playing the right phrase.
from cordova-plugin-speechrecognition.
Related Issues (20)
- Not working on iOS 13.2 HOT 8
- How to voice to text?
- Wondering about the pricing using this plugin on Android? HOT 5
- How can I get the data and send it to the server? HOT 2
- support of speechContext
- Failed iOs
- Speech recognition doesn't work on iOS 13.3 HOT 1
- Pop up disable is not working HOT 1
- completeSilenceLength on Android HOT 2
- plugin does not work with ionic 5
- speech recognition service is not available on system on Android 11 Beta HOT 7
- I cannot use microphone with Airpod Pro on iOS HOT 1
- Invalid provider for the NgModule 'AppModule' - only instances of Provider and Type are allowed HOT 1
- cordova ios recognition not working HOT 1
- recognition not working with android 12 HOT 2
- Disable "beep" sound on start and stop of speech recognition
- requestPermission method is broken in iOS
- Is it free to use (google speech api and ios cloud?)
- Not work for android 13
- Api key required
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cordova-plugin-speechrecognition.