HomeForumsOpenEarsListening during audio playback

This topic has 2 voices, contains 5 replies, and was last updated by  Halle 160 days ago.

Viewing 6 posts - 1 through 6 (of 6 total)
Author Posts
Author Posts
December 9, 2011 at 10:10 pm #8234

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?

December 9, 2011 at 10:33 pm #8235

Halle

Hi,

Is there a reason you can’t suspend listening before playing audio and resume afterwards? Suspend and resume are near-instant.

December 9, 2011 at 10:34 pm #8236

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?

December 10, 2011 at 12:05 am #8238

Halle

OK, that isn’t yet implemented.

December 10, 2011 at 12:52 am #8239

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.

December 10, 2011 at 1:10 am #8240

Halle

Glad to hear it!

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.