Re: [speech-api] Continuous recognition problem

Good morning Mr. Ater,
sorry for the late response. I'd like to thank for the github repository of
your project.
I have another question: I have a 5 minutes audio file that I want to
transcribe. I implemented a simple version of your project
http://pastebin.com/NF0q5H6S and I'd like to know if you found this problem
too, i.e. sometimes the recognition doesn't return any results. The audio
settings are fine, but sometimes, it doesn't show any results and it keeps
going (after the "reboot" of the recognition) with the transcription.
Did you encountered this error? I'm doing the transcription of an italian
audio file.
Thank you

Il giorno gio 30 apr 2015 alle ore 12:18 Tal Ater <tal@talater.com> ha
scritto:

> Hi Agostino,
>
> This is an issue for the Chrome team, as it is caused by how they chose to
> implement the Speech API, and not with the spec itself.
>
> I've tackled similar issues in my work on annyang and I've chosen to
> automatically handle restarting the speech recognition under certain
> condition by binding to the onend() event.
>
> If you try a similar technique, be aware of the following:
>
>    1. If you are not on HTTPS, the user will be prompted to give
>    permission over and over again on each restart.
>    Don't compromise on HTTP.
>    2. Make sure you are not restarting the speech recognition immediately
>    onend() without some safeguards to make sure you aren't putting the browser
>    into an endless loop (e.g. two open tabs with onend(function() {restart()})
>    can crash the browser, as I've detailed in this bug report:
>    https://code.google.com/p/chromium/issues/detail?id=296690)
>    See https://github.com/TalAter/annyang/blob/master/annyang.js#L152 for
>    how I handle this.
>    3. Don't autorestart if the reason for it ending is something like `
>    service-not-allowed` or `not-allowed` See
>    https://github.com/TalAter/annyang/blob/master/annyang.js#L132
>
> You can see how I handled this in my code, and feel free to send me an
> email if you need further help.
>
>
> *Tal Ater **|* LinkedIn <http://www.linkedin.com/in/talater/>
>
>
> On Tue, Apr 28, 2015 at 6:07 PM, Agostino Pisanelli <
> agostino.pisanelli@gmail.com> wrote:
>
>> Hello,
>> I'm using the Speech API for a university project. I need the recognition
>> to be always active even if no one talks, but if I set the 'continuous'
>> attribute to true, after more or less a minute the recognition stops. The
>> audio keeps going , but on my chrome console I can't read further of the
>> first minute transcription.
>> Furthermore the 'rec' icon on the chrome tab is visible even after the
>> first minute.
>> In this situation no error is raised.
>>
>
>

Received on Sunday, 10 May 2015 15:18:38 UTC