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
trafficstars

Although python-soundfile is usually used with NumPy, it does support non-NumPy use. A great feature for non-numpy use would be an option to allow inputs to functions such as Soundfile.write()...

Imagine the array configuration of the input to SoundFile.write is incorrect. For example, I triggered this by passing in interleaved stereo data where SoundFile.write expects an array of 2-element arrays....

I was recommended PySoundFile in a StackOverflow post. I was recommended "PySoundFile", at this address: https://pypi.org/project/PySoundFile/ That page links to these docs: https://pysoundfile.readthedocs.io/en/latest/# And this github: https://github.com/bastibe/PySoundFile This is incorrect,...

This is a pretty weird usecase so I wasn't able to shrink the issue down to a small sample, sorry for that. Essentially my code does the following: - Creates...

I'm trying to read a chunk from a 5 min mp3 file using the following code: ```python import soundfile as sf original_sr = 22050 start_frame = int(3*original_sr) stop_frame = int(4.1*original_sr)...

i am having error soundfile.LibsndfileError: Error opening 'file.ogg': Format not recognised. import soundfile as sf import os def convert(): data, samplerate = sf.read('file.ogg') sf.write('file.wav', data, samplerate)

When I try to do this `val = file.extra_info` I get this error `TypeError: initializer for ctype 'struct SNDFILE_tag *' must be a cdata pointer, not NoneType` I am able...

I have a simple question and would like to come to an understanding to see if my plan will work. I am looking to use a Raspberry Pi Pico to...

If write long frames to ogg, python will crash without any traceback or info. After faulthandler enabled, it will give "Windows fatal exception: stack overflow" Environments: Windows 10, Python 3.10.8...

I want to synchronously write data from memory to disk, in other words, I need to ensure that the file is written to the disk instead of a buffer. Thanks