GithubHelp home page GithubHelp logo

Comments (11)

sowens-csd avatar sowens-csd commented on August 14, 2024

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.

mpigorini avatar mpigorini commented on August 14, 2024

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.

sowens-csd avatar sowens-csd commented on August 14, 2024

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.

mpigorini avatar mpigorini commented on August 14, 2024

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.

sowens-csd avatar sowens-csd commented on August 14, 2024

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.

sowens-csd avatar sowens-csd commented on August 14, 2024

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.

sowens-csd avatar sowens-csd commented on August 14, 2024

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.

mpigorini avatar mpigorini commented on August 14, 2024

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.

sowens-csd avatar sowens-csd commented on August 14, 2024

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.

sowens-csd avatar sowens-csd commented on August 14, 2024

Any more information on this issue?

from speech_to_text.

sowens-csd avatar sowens-csd commented on August 14, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.