When I add this code to the sample app:
if(!OEPocketsphinxController.sharedInstance().isListening) {
OEPocketsphinxController.sharedInstance().startListeningWithLanguageModel(atPath: self.pathToFirstDynamicallyGeneratedLanguageModel, dictionaryAtPath: self.pathToFirstDynamicallyGeneratedDictionary, acousticModelAtPath: OEAcousticModel.path(toModel: “AcousticModelEnglish”), languageModelIsJSGF: false)
self.saveThatWaveController.start() // For saving WAVs from OpenEars or RapidEars
}
startDisplayingLevels()
I get this
Signal: SIGABRT (signal SIGABRT)
fatal error: unexpectedly found nil while unwrapping an Optional value
2017-05-02 13:23:38.175363-0400 OpenEarsSampleAppSwift[383:38180] fatal error: unexpectedly found nil while unwrapping an Optional value
fatal error: unexpectedly found nil while unwrapping an Optional value
2017-05-02 13:23:38.815379-0400 OpenEarsSampleAppSwift[383:38180] fatal error: unexpectedly found nil while unwrapping an Optional value