The Patchbay_

SoundFile

Read and write WAV/FLAC/OGG and other formats via libsndfile, returning NumPy arrays.

LanguagePython
CategorySynthesis & DSP
LicenseBSD-3-Clause
PlatformsmacOS Windows Linux
Installpip install soundfile
First released2013
MaintainedYes
LinksWebsite · Source

Strengths

Limitations

Best for

Loading and saving audio files as NumPy data in analysis and DSP pipelines.

Minimal example

import soundfile as sf
data, samplerate = sf.read("input.wav")
sf.write("output.flac", data, samplerate)

Alternatives to SoundFile

pyopydubCsoundPure Data

← Back to all tools