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

Audioread NoBackendError #15

Closed
hideodaikoku opened this issue Mar 31, 2019 · 4 comments
Closed

Audioread NoBackendError #15

hideodaikoku opened this issue Mar 31, 2019 · 4 comments

Comments

@hideodaikoku
Copy link

hideodaikoku commented Mar 31, 2019

I tried running the code using the sample command, in order to open a .wav file for execution and ran into this error. I'm running on a Linux system with Python 2.7 and I have all the dependencies installed.

I even have ffmpeg and other dependencies that work around the audioread error. Should I be using other ways to open the audio file, and note Librosa.load()

Loading audio...
Traceback (most recent call last):
File "audio_to_midi_melodia.py", line 210, in
savejams=args.jams)
File "audio_to_midi_melodia.py", line 154, in audio_to_midi_melodia
data, sr = librosa.load(infile, sr=fs, mono=True)
File "/usr/local/lib/python2.7/site-packages/librosa/core/audio.py", line 119, in load
with audioread.audio_open(os.path.realpath(path)) as input_file:
File "/usr/local/lib/python2.7/site-packages/audioread/init.py", line 116, in audio_open
raise NoBackendError()
audioread.NoBackendError

@justinsalamon
Copy link
Owner

I'll soon be replacing librosa with a lighter library to load audio, which might resolve your issue. Stay tuned.

@hideodaikoku
Copy link
Author

thanks so much for looking into it. i know this isn't strictly speaking an issue with this repo, but an issue with Audioread!

@justinsalamon
Copy link
Owner

OK I just pushed an update (v0.0.3) which doesn't rely on librosa for loading the audio. Please try the latest version and let me know if you still have any issues. Thanks.

@justinsalamon
Copy link
Owner

Stale, closing out.

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