I'm using the XSpeechRecognizer library (updated by @Multiverse app) to convert spoken reminders to text.
It's working pretty well, but I do have a few questions:
- It stops the recording and fires the EndOfSpeech event after detecting silence after 1-2 seconds. Is this duration configurable?
- Ideally I'd like to keep recording until a button is tapped, rather than use the EndOfSpeech event. Possible?
- My app currently offers either an audio file or recognized text (but not both). It would be a real bonus if I could save the audio as a file as well as capturing the recognized text. I understand that the BufferReceived event stopped working after ICS (Android 4.0), so is there any other way of doing this, either simultaneously or by possibly saving the audio file and feeding it to a recognizer immediately afterward?
Any help appreciated. Thanks!
It's working pretty well, but I do have a few questions:
- It stops the recording and fires the EndOfSpeech event after detecting silence after 1-2 seconds. Is this duration configurable?
- Ideally I'd like to keep recording until a button is tapped, rather than use the EndOfSpeech event. Possible?
- My app currently offers either an audio file or recognized text (but not both). It would be a real bonus if I could save the audio as a file as well as capturing the recognized text. I understand that the BufferReceived event stopped working after ICS (Android 4.0), so is there any other way of doing this, either simultaneously or by possibly saving the audio file and feeding it to a recognizer immediately afterward?
Any help appreciated. Thanks!
Last edited: