python-soundfile icon indicating copy to clipboard operation
python-soundfile copied to clipboard

SoundFile is an audio library based on libsndfile, CFFI, and NumPy

Results 129 python-soundfile issues
Sort by recently updated
recently updated
newest added

It seems that simply opening a SoundFile (version 0.10.3.post1, which is what I get when I run `pip install soundfile`) in write mode removes existing metadata in the wav file....

Build error on win32 due to the declaration: """ SNDFILE* sf_wchar_open (const wchar_t *wpath, int mode, SF_INFO *sfinfo); """ Perhaps it should be removed. Tested on Macbook Pro M1 and...

These allow to configure the compression/quality when writing to a compressed format (ogg or flac)

Since mp3 patents have apparently now expired (2017) I guess there isn't a legal issue with using LAME to decode mp3 files anymore? Is it worth looking into here or...

I started using soundfile to convert .wav files to .flac files, but on occasion, it seems to introduce undesirable artifacts. For example: ``` data, samprate = soundfile.read(filename) soundfile.write(filename.replace(".wav",".flac"), data, samplerate...

Thank you for the wonderful software! It used to work fine, until I attempted using a very basic code, and for whatever reason it does not work. Why? ``` import...

Create a new issue to track the `ffi.callback()` cause `MemoryError` on macOS M1. See comment of @bastibe in https://github.com/bastibe/python-soundfile/issues/325#issuecomment-1048584002 > > According to https://cffi.readthedocs.io/en/latest/using.html#callbacks, `ffi.callback()` is old style callback, and...

Try explicit file name, if the general does not work (e.g. on nixos) and if no local installed library sndfile, try system-wide maybe additonal fix for #238, #258, #313,

Hi, It seems that there's no way to set COMPRESSION_LEVEL or VBR while export except `_snd.sf_command`. Is that any plan to add `compression_level` and `vbr` args to `soundfile.write`?