Open hengway1989 opened 9 years ago
Let me know if you have this problem with V6 too?
Yes still have this issue, please help to check, log as below: [C] Console v2.31, Happy bug fixing! SpeechAPI V6.0 is supported now, waiting for the extension initialization... [C] Moved console on top (alwaysOnTop enabled), 49 attempts left. initialaztion was successful: true you should wait for the list of supported languages for TTS and STT if you are offline, TTS may work depending on what languages are available on your device. there may be no langs availble on your device if you are offline! if you are offline STT can't work at all (there are some undocumented evidence that Google is supporting offline STT for new Android versions but nothing to be sure yet. when it is availble to developers, we will be updating this extension accordingly) as soon as you have the list of supported languages for each method of TTS or STT, you will be able to start working with them. number of supported langs for TTS = 51 number of supported langs for STT = 88
iOS does NOT Support TTS << SpeechState= 2 (startListening) SpeechState= 4 (onEndOfSpeech) ERROR: noRecognitionResultMatched<-------This is the miss fire error SpeechState= 4 (onEndOfSpeech) Speech to Text results are: hello how are you hello how ru hello how are u hello how r you
hello how are youuu
Hi, as subject, by testing on android 5.X (no issue on android 4.X), after first call of startListening(language) function, SpeechEvent.ERROR will be trigger and follow by SpeechEvent.RECOGNITION_RESULTS.
But after first record, this behaviour will not occur anymore. Below is the output capture from console:
SpeechAPI V5.1 is successfully initialized. initialaztion was successful: true <---------- first record ----------> startRecord SpeechState= 2 (startListening) SpeechState= 4 (onEndOfSpeech) Error:2//onError//noRecognitionResultMatched <---- SpeechEvent.ERROR SpeechState= 4 (onEndOfSpeech) Result:2//onRecognitionResults//undefined <--- SpeechEvent.RECOGNITION_RESULTS <---------- second record ----------> startRecord SpeechState= 2 (startListening) SpeechState= 4 (onEndOfSpeech) Result:2//onRecognitionResults//undefined <--- SpeechEvent.RECOGNITION_RESULTS
I try on the demo app, found same issue as well.![atawsf-dnmnyws3ec0pj5tyqaaw2p-uvmnmn7w1l1bgw](https://cloud.githubusercontent.com/assets/13148479/9156341/be465e80-3f00-11e5-8248-5792385ac84f.jpg)
Direct copy from console in demo app:
[C] Console v2.31, Happy bug fixing! SpeechAPI V5.1 is supported now, waiting for the extension initialization... [C] Moved console on top (alwaysOnTop enabled), 49 attempts left. initialaztion was successful: true you should wait for the list of supported languages for TTS and STT if you are offline, TTS may work depending on what languages are available on your device. there may be no langs availble on your device if you are offline! if you are offline STT can't work at all (there are some undocumented evidence that Google is supporting offline STT for new Android versions but nothing to be sure yet. when it is availble to developers, we will be updating this extension accordingly) as soon as you have the list of supported languages for each method of TTS or STT, you will be able to start working with them. number of supported langs for TTS = 24 number of supported langs for STT = 88 SpeechState= 2 (startListening) SpeechState= 4 (onEndOfSpeech) ERROR: noRecognitionResultMatched wait for the engine to return your text SpeechEvent.RECOGNITION_RESULTS ... SpeechState= 4 (onEndOfSpeech) ERROR: otherClientSideErrors SpeechState= 4 (onEndOfSpeech) Speech to Text results are: hello hello how hello my
hello I
Thank you and kindly please help feedback.