Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crashed when clicked on "Analyze Random Audio Clip" #1

Open
xianbaoqian opened this issue Jun 11, 2021 · 2 comments
Open

App crashed when clicked on "Analyze Random Audio Clip" #1

xianbaoqian opened this issue Jun 11, 2021 · 2 comments

Comments

@xianbaoqian
Copy link

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)}

Screen Shot 2021-06-11 at 9 21 51 PM

@ninaataimi
Copy link

@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

@xianbaoqian
Copy link
Author

Thanks Nina. I'll give it a try!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants