ESC10-CoreML
ESC10-CoreML copied to clipboard
App crashed when clicked on "Analyze Random Audio Clip"
Hi Nick,
Thanks for building this reference app. I have little experiences with Apple's development toolchain so having a workable reference app is very helpful to me.
I managed to build and run this app on my iPhone, but I have some question using it.
When I open the application, I don't see anything classification results despite that I was making various kind of sounds. The only clickable button is "Analyze Random Audio Clip". When I click on it, the following crash appears.
Any thoughts or suggestions?
Thanks,
Thread 1: Fatal error: Failed to schedule file at file:///private/var/containers/Bundle/Application/2D555890-8AF0-4CB8-9E2C-7C5F5EDB6EE4/ESC10-CoreML-Demo.app/dogs.wav: Error Domain=com.apple.coreaudio.avfaudio Code=1954115647 "(null)" UserInfo={failed call=ExtAudioFileOpenURL((CFURLRef)fileURL, &_extAudioFile)}

@xianbaoqian I believe this is a codec issue, try replacing the test wav files with some audio files that you can open on your machine. It worked for me
Thanks Nina. I'll give it a try!