 dave
|
Hello,
I have an app where I want to issue one word commands. However having a 1 second delay before the speech is processed is unacceptable in terms of feedback to the user.
Is it possible to adjust this 1000 microsecond delay anywhere in the code?
Thanks
|
 Halle
|
Hi Dave,
The delay is required in order to prevent cutting off the user mid-statement (for continuous recognition, a period of silence is the only available signal that a statement is complete and ready to be recognized), but you can shorten it for single-word vocabularies in OpenEarsConfig.h under the constant kSecondsOfSilenceToDetect. It’s covered in the docs here:
http://www.politepix.com/openears/yourapp/#configoptions
|
 alannet
|
I would like to be able to change the kSecondsOfSilenceToDetect dynamically based on a setup parameter such as a slider in a configuration view. Is that possible?
Thanks
|
 Halle
|
Since it’s a constant, you’d have to change the way it is set and accessed in ContinuousModel yourself in order to do that.
|
 aerialcombat
|
I had the same question of wanting to change kSecondsOfSilenceToDetect dynamically, but didn’t know how to go about this. If anyone has an answer it would be greatly appreciated.
|