audioread.NoBackendError when looping folder
- Dominant language
- Python
- Stars
- 538
- Forks
- 112
- PR merge metrics
- No merged PRs in 30d
Description
So i have been trying to loop through a folder containing MP3 files and im using librosa in this loop to extract specific features from each mp3 file but each time i try to do that after looping through a few songs i get this error :
`Traceback (most recent call last):
File "/Users/samisherif/PycharmProjects/Test2/yarab.py", line 40, in
y, sr = librosa.load(songname, duration=15)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/librosa/core/audio.py", line 119, in load
with audioread.audio_open(os.path.realpath(path)) as input_file:
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/audioread/__init__.py", line 116, in audio_open
raise NoBackendError()
audioread.NoBackendError`
please i need help resolving this issue as soon as possible have been stuck on it for a while, Also im using MacOS if that makes a difference. Im also using Pycharm.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the folder loop at the reported librosa.load call and inspect audioread.audio_open when it reaches the failing MP3. Check which audio decoding backends are available on macOS and verify that every file opens without NoBackendError; the issue names no repository files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, python
- Domain
- audio-video-rtc
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100