python-soundfile
python-soundfile copied to clipboard
SoundFile is an audio library based on libsndfile, CFFI, and NumPy
There appear to be two separate bugs that affect `soundfile` 0.12.1 (on different platforms): - On some platforms, certain FLAC files raise an error when trying to read *ending at*...
Hi there, in #421 suppressing warnings from underlying libraries is discussed. In my case I would like to capture the errors, in order to discard mp3s which trigger warnings. I...
Whenever I load [this specific mp3](https://github.com/bastibe/python-soundfile/files/15070565/Holiday.zip), only part of it is loaded. I have not been able to replicate this issue with any other file, so I have no idea...
Original Traceback (most recent call last): File "C:\Users\autumn\.conda\envs\py10\lib\site-packages\torch\utils\data\_utils\worker.py", line 308, in _worker_loop data = fetcher.fetch(index) File "C:\Users\autumn\.conda\envs\py10\lib\site-packages\torch\utils\data\_utils\fetch.py", line 51, in fetch data = [self.dataset[idx] for idx in possibly_batched_index] File "C:\Users\autumn\.conda\envs\py10\lib\site-packages\torch\utils\data\_utils\fetch.py",...
When I try to read an m4a file via ``` import soundfile as sf data, samplerate = sf.read('test.m4a') ``` I get the following error: ``` soundfile.LibsndfileError: Error opening 'songs/test.m4a': Format...
In fact, the audio duration is about 21 hours. but the duration read by the soundfile is 6e+10:4e+01:3.719h import soundfile audio_info = soundfile.info("e:/..../ss.mp3") print(info)
The attached file here fixes an issue using HuggingFace datasets requiring `soundfile` on aarch64. I compiled on this branch (bastibe/aarchh64-build) using `linux_build.sh` on Grace Hopper, which requires aarch64. This generated...
Hi! I encountered an issue while building the package for linux-aarch64. The build process failed with the following error message: ``` import: 'soundfile' import: 'soundfile' + pip check soundfile 0.12.1...
I've been using this excellent on my Mac for months. Now, suddenly, files that previously ran through my scripts just fine throw. ``` File "/Users/ini/parsonos/palaba-server/palaba/transcription.py", line 238, in transcribe_audio audio_chunks...