felixjunghans / google_speech

Flutter google spech
MIT License
68 stars 41 forks source link

Mic Stream - Google speech not working #28

Closed kelrigor closed 2 years ago

kelrigor commented 2 years ago

Hi anyone can helpme,

I'm trying google speech - Mic Stream in flutter, i've already implement the service account and initialized but when i run the application my voice/speech did not recoginized.

thanks

felixjunghans commented 2 years ago

Hi, did you check if input is coming from your microphone and that you set the sampleRateHertz correctly?

kelrigor commented 2 years ago

Hi,

This is my firsttime working on speech to text, can you tell me how do i debug this? since the application is running but when i clicked the listen button, service account automatically initialize but app did not recognized my speach.

PS. I disable sound stream pluggin since i'm getting this error while debuging "Execution failed for task ':sound_stream:compileDebugKotlin'.

A failure occurred while executing org.jetbrains.kotlin.compilerRunner.GradleCompilerRunnerWithWorkers$GradleKotlinCompilerWorkAction Compilation error. See log for more details"

see my dart file speech.txt

kelrigor commented 2 years ago

Hi,

Already solved the problem, found that the issue is sound stream.

Thanks