alphacep / vosk-flutter

Apache License 2.0
50 stars 30 forks source link

windows 11 not working #14

Closed selvam920 closed 1 year ago

selvam920 commented 1 year ago

not listening ,when i speek only showing stop recording

ModelLoader] Model already loaded to C:\Users\sksso\Documents\models\vosk-model-small-en-us-0.15 LOG (VoskAPI:ReadDataFiles():model.cc:213) Decoding params beam=10 max-active=3000 lattice-beam=2 LOG (VoskAPI:ReadDataFiles():model.cc:216) Silence phones 1:2:3:4:5:6:7:8:9:10

sergsavchuk commented 1 year ago

Hi, @selvam920, could you please provide the code that you use to recognize an audio from the mic?

selvam920 commented 1 year ago

i used example folder, i'm running in windows 11 computer

sergsavchuk commented 1 year ago

Unfortunately, at the moment there is no suitable package for receiving a byte stream from a mic on windows. So on Windows you can only recognize pre-recorded audio. In the example app you can see the recognized speech after pressing the "stop recording" button.

selvam920 commented 1 year ago
image
sergsavchuk commented 1 year ago

you should check if fmedia (which the record package uses under the hood) is working well on your machine