Home › Forums › OpenEars › Recommend method to play sound with active speech recognition? › Reply To: Recommend method to play sound with active speech recognition?
February 4, 2014 at 5:55 pm #1020033
Have you tried playing them with an AVAudioPlayer, for instance, ones that are properties of the view controller that you can load and prepareToPlay in advance so they aren’t laggy? It’s the only audio object that has absolutely no issues I’m aware of being played while the PlayAndRecord audio session is in place. You can also easily suspend and resume before and after playback so it doesn’t interfere with recognition accuracy. Let me know if that works for you.