python-soundfile
python-soundfile copied to clipboard
SoundFile is an audio library based on libsndfile, CFFI, and NumPy
Hi, I've been using `pysoundfile` for a long time for reading/writing Vorbis `.ogg` files, it's working great, but it definitely lacks Opus support. As I've discovered, `libsndfile` has already added...
Executing `pip install SoundFile` on an M1, installs just fine using generic wheel: ``` Using cached SoundFile-0.10.3.post1-py2.py3-none-any.whl (21 kB) ``` But trying to import soundfile shows the libsndfile as missing:...
Hi! What is the reason for `libsndfile` system library not being packed into the wheels for Linux, as it is done for Mac and Windows? We'd like to use new...
Hello, I've a .raw file that gets updated every 'x' ms, and my goal is to read it in a realtime manner. However, once I instantiate an sf_file instance, the...
Hey there, first of all, I am not a programmer. I just need to run a program that has been sent to me and uses the soundfile library. I have...
Here is my code. >>> filename='kfc.ogg' >>> data, samplerate = sf.read(filename) Then throw Error File "/PycharmProjects/.env/lib/python3.7/site-packages/soundfile.py", line 1184, in _open "Error opening {0!r}: ".format(self.name)) File "/PycharmProjects/.env/lib/python3.7/site-packages/soundfile.py", line 1357, in _error_check...
https://github.com/librosa/librosa/issues/1584 Audio out from libsndfile (soundfile) for mp3 not float32 but float64. Because of this, if we do not force the dtype=float64 , we get an empty array print mp3...
This is a continuation of the discussion in #310, where I'm working on packaging a new version of soundfile. It appears that the packaging problem is more complicated than anticipated....
my code is ```python import numpy as np import soundfile as sf print(sf.__libsndfile_version__) sf.write('stereo_file2.mp3', np.random.randn(10, 2), 44100) ``` and the out put ``` 1.1.0 Traceback (most recent call last): File...
Updated Python versions and OSes; happy to amend this pull request. - I updated the OSes and in your GitHub workflow to include Ubuntu 22.04, Windows 2022, and macOS 11...