Home › Forums › OpenEars › ConvertInput error in pocketsphinxDidReceiveHypothesis › Reply To: ConvertInput error in pocketsphinxDidReceiveHypothesis
I’ve now discovered that it seems to be to do with having 2 OpenEarsEventsObserverDelegates in the system. I had my main ViewController as an OpenEarsEventsObserverDelegate so that it can change the user interface when fliteController output starts and stops. i also had another class, Speech, as a second OpenEarsEventsObserverDelegate so that it can process the speech. In my view controller, if i set the delegate to ‘this’, the error occurs, but if i omit that line (leaving only one delegate in the system – the Speech class), the error does not occur. So i think i can reorganise my code to have only one delegate and have it inform the other class of the OpenEars events when they occur.