Comments (11)
Do you see any errors or anything in the log? What is difference in behaviour between the S8 and the S10? What are the Android versions on those two devices?
from speech_to_text.
I tried and in s8 it works fine, but in my s10 the stop does nothing. Continue recording until you say something or timeout. The timeout varible "speech.listen(listenFor: Duration)" not work on my s10 too. The s8 has android 8 and my s10 has android 10. I dont see any error on logs
from speech_to_text.
There's a new 1.0.0 release on pub.dev. Some of the behaviours have been moved to the main thread. That might help with the issue you're seeing it. Could you try that version and let me know?
from speech_to_text.
I've tried it and I still have the same behavior despite being called the speech.stop () function. The microphone is still active
from speech_to_text.
I'm still a bit unclear on what happens on the S10. Despite calling stop() are you still getting speech recognition results in the callback? I'd like to understand how you can tell that the microphone is still active. I'm going to add some more logging around the start and stop call and ask you to try a new version.
from speech_to_text.
The extra logging is there now, if you run in debug mode you will see logs indicating whether it called stop (at the Android intent level) and whether it completed.
from speech_to_text.
The latest version of the plugin in the repo has a new architecture for interacting with the main loop. It may also help with this issue. Let me know if you have time to try it out.
from speech_to_text.
hello, Sorry for my flashing, I have tried the latest version and continued with the same problem on my device. After pressing stop if I say something the microphone captures it as if it was active.
from speech_to_text.
Can you provide the steps to reproduce. In particular what happens that you think is incorrect? You say 'the microphone captures it'. Is the onResult callback being notified with partial word matches? With a final match? Is this with the example app or some of your own code? If it is your own code can you try it with the example app and let me know if you see the same behaviour?
from speech_to_text.
Any more information on this issue?
from speech_to_text.
Closing this as I don't have enough information to figure out what's happening. Please open a new issue if you are having problems.
from speech_to_text.
Related Issues (20)
- Arabic diacritics (Harakat) HOT 1
- iOS, onResult is not called HOT 7
- Getting Error 7 after start. HOT 7
- OnDevice doesnโt work if wifi is turned off HOT 1
- how to clear result.recognizedWords HOT 1
- Wan't to Add some extra languages, working in andriod but thworing exception in IOS HOT 1
- ResultListener recognizedWords are bugged? [Android/Web] HOT 7
- Add tests to the examples
- Support Flutter web WASM HOT 1
- Error when user stay in silent dont possible refresh the widgets
- Error when using TTS HOT 1
- onResult called after onDone
- Error 7 not reported
- SpeechRecognitionError: error_permission && error_client HOT 1
- android , if no network, I got error: error_language_not_sopported HOT 1
- Slow when start listening HOT 1
- Error 9 on Android Emulator HOT 1
- Not working with many browsers HOT 1
- Not working on ipad HOT 1
- Does it uses device resources for comuputation or some cloud server ? HOT 4
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 speech_to_text.