Reply To: Words not recognized

Home Forums OpenEars Words not recognized Reply To: Words not recognized


Hi thanks once for your insights.

So i got it to work by setting:
OEPocketsphinxController.sharedInstance().disablePreferredSampleRate = true OEPocketsphinxController.sharedInstance().disablePreferredBufferSize = true

The error still remains like the previous log i copied. If needed please let me know if you need a more detailed log or more information.

But now the loudness increases after it has completed. I read an existing post with the same issue. Is there anything specific i can try, like what audio mode to try or anything else.

Thank you for your help.

The loudness thing is less clear. I don’t know the reason for that, but my best guess is that it is related to the route. Playback can either be routed to the external speaker or the ear speaker and one is much louder than the other. Different audio sessions have different default routes and need to be overridden to get different results. PocketsphinxController does re-route to the louder speaker, but it is possible that something about the session mixing is causing it to not successfully do that and then it is only when the new session is created that the sound is fully routed to the speaker. It could also be due to a side effect of the mixing setting, for instance if it does some kind of active volume reduction on the assumption that there are two output streams that have to be combined without clipping.Lastly it could just be a difference between the two different audio session settings that is more noticeable when the session is returned to ambient.