 Isaac Squires
|
So, I’ve been playing recorded audio (rather than using flite for speech), and I’d really like for open ears to be able to listen to the user at the same time. This way the user could interrupt my app with a command like “Stop” or “Pause”.
However, if I listen while playing audio from AVAudioPLayer, open ears will trigger off of the output from the speakers – even if the user isn’t saying anything.
Is there any way to ignore / cancel out audio that comes from the device?
|
 Halle
|
Hi,
Is there a reason you can’t suspend listening before playing audio and resume afterwards? Suspend and resume are near-instant.
|
 Isaac Squires
|
That’s what I currently do. What I’d like to add, is the ability to listen during audio playback, so that the user could interrupt the audio (in some cases, I might be playing 2 minutes worth of audio, and would like a voice input for cancelling). Is this possible?
|
 Halle
|
OK, that isn’t yet implemented.
|
 Isaac Squires
|
Ok thanks – I didn’t think it was possible, but wanted to check just in case. I appreciate your quick response, and all the work you’ve put into documenting and supporting OpenEars. So far it is working very well for our application.
|