python-soundfile
python-soundfile copied to clipboard
SoundFile is an audio library based on libsndfile, CFFI, and NumPy
Hi, there is a `conda-forge` recipe for this package: https://github.com/conda-forge/libsndfile-feedstock The only missing part is the windows build at the moment, but there exists some existing solutions, see this issue:...
Referencing an issue I had here. https://github.com/spatialaudio/python-sounddevice/issues/172 Earlier in my program, I read in a wav file with sf.blocks with always_2d=True set. Later, I open another soundfile to write out...
> Python 3.6.0 (default, Dec 31 2016, 21:20:16) > [GCC 4.9.2] on linux > Linux debian 3.4.113-sun8i #50 SMP PREEMPT Mon Nov 14 08:41:55 CET 2016 armv7l GNU/Linux > libsndfile1-dev...
I tried this example with HTTP request from the doc. ``` import io import soundfile as sf from urllib.request import urlopen url = "http://tinyurl.com/shepard-risset" data, samplerate = sf.read(io.BytesIO(urlopen(url).read())) ``` I...
I was wondering if soundfile and _soundfile are two different files since my system says the module _soundfile is missing.
t would be nice to be able to specify the location of the soundfile dylib for people that want to use a specific location and/or version. At present the code...
See #199. This will be a breaking change and should therefore be very gentle, with long breaks between those action points: * [x] Deprecate `.__len__()` and introduce `.frames` as replacement...
Typically in a phone call there is -- dial tone -- ringtone -- conversation -- end of conversation I want to know how to use ^ library to detect the...
This behavior seems strange to me: ```pycon >>> import soundfile as sf >>> import numpy as np >>> out = np.zeros(9, dtype='int16') >>> sf.read('tests/mono.wav', frames=7, out=out, fill_value=99) (array([ 0, 1,...
I want something with all the same options as `blocks()` except that it also tells you where you are in the file, so you don't have to figure it out...