Hey everyone,
I used p5.SpeechRec with "interim Results". The onEnd-function only seems to work, when the user is giving speech input. It does however not fire, if no speech is provided in the interim time span.
[context: I want to bind an event on when p5.js-speech is not listening anymore - sadly I cannot just check if the microphone is off, as I'm simulaniously use the p5.sound-lib in order to animate other things.]
Did I miss something or is there a workaround in order to check if there is "no speech" in the interim time span? Thank you in advance.
P.S.: first time opening an issue on github - I hope I'm not reporting anything stupid here. Sorry in advance.
Hey everyone,
I used p5.SpeechRec with "interim Results". The onEnd-function only seems to work, when the user is giving speech input. It does however not fire, if no speech is provided in the interim time span.
[context: I want to bind an event on when p5.js-speech is not listening anymore - sadly I cannot just check if the microphone is off, as I'm simulaniously use the p5.sound-lib in order to animate other things.]
Did I miss something or is there a workaround in order to check if there is "no speech" in the interim time span? Thank you in advance.
P.S.: first time opening an issue on github - I hope I'm not reporting anything stupid here. Sorry in advance.