The Patchbay_

SoundFile Alternatives

Looking for an alternative to SoundFile? It's read and write WAV/FLAC/OGG and other formats via libsndfile, returning NumPy arrays. Below are 20 other synthesis & dsp tools for making music with code — how each compares, and when it's the better choice. Every option is verified against its own source.

AlternativeLanguageLicenseBest for
PedalboardFast Python library for audio effects and VST3/AU plugin hosting, built on JUCE by Spotify.PythonGPL-3.0Batch audio processing, applying effects, and hosting VST/AU plugins from Python.
pydubHigh-level Python library for simple audio editing: slice, concatenate, convert, and apply gain.PythonMITQuick, scripted audio-file editing and format conversion.
pyoPython module written in C for building real-time audio signal-processing and synthesis scripts.PythonLGPL-3.0Writing real-time synthesis and DSP patches directly in Python.
python-sounddevicePlay and record NumPy audio arrays via PortAudio, with blocking and callback streaming.PythonMITRecording and playback of audio in Python scripts and realtime callback pipelines.
SupriyaPython API for the SuperCollider synthesis server: build synths, patterns and score audio.PythonMITDriving SuperCollider synthesis and sequencing from Python, including offline rendering.
CabbageFramework to wrap Csound code into VST/AU audio plugins and standalone instruments with a GUI.CsoundGPL-3.0Csound users and sound designers building custom synths/effects as deployable plugins.
CsoundVeteran sound-and-music computing system for synthesis and DSP via orchestra/score code.CsoundLGPL-2.1Precise, portable synthesis and DSP across desktop, mobile and embedded.
Elementary AudioDeclarative JavaScript library for digital audio signal processing, portable across web and native renderers.JavaScript / C++MITWriting portable DSP shared between web apps and native audio plugins.
FaustFunctional DSP language that compiles to C++, WebAssembly, plugins and many other targets.FaustLGPL-2.1-or-laterWriting portable DSP algorithms, effects and synths once and deploying anywhere.
Gibberish.jsFast JavaScript DSP library that generates JIT-optimized, sample-accurate audio callbacks via code generation.JavaScriptMITPerformance-critical browser synthesis (it powers the Gibber environment).
JUCECross-platform C++ framework for building audio apps and VST/AU/AAX/LV2 plug-ins.C++AGPL-3.0-only OR CommercialShipping audio plug-ins and cross-platform audio applications in C++.
Max/MSPVisual patching environment; scriptable via the js object, gen~ DSP language, and Node for Max.JavaScript / GenProprietaryInteractive audio/media artists wanting visual patching with embedded scripting.
NyquistLisp/SAL language for sound synthesis and algorithmic composition; also embedded in Audacity.Lisp / SALSee projectScripted synthesis and composition, and writing Audacity effects.
Pure DataVisual dataflow environment for real-time synthesis, audio processing and interactive multimedia.Pd (visual)BSD-3-ClauseInteractive, patch-based sound and multimedia work.
RTcmixReal-time descendant of Cmix: a C-based synthesis engine driven by Minc scripting scores.Minc / CApache-2.0Score-driven real-time synthesis in the Cmix tradition.
STK (Synthesis ToolKit)C++ class library of synthesis and DSP building blocks (oscillators, filters, physical models).C++MITEmbedding synthesis/DSP primitives and physical models into C++ apps.
ZzFXSub-1KB zero-dependency synth that generates game sound effects from a list of numeric parameters.JavaScriptMITTiny procedural game sound effects where every byte counts.
AudioLazyinactiveReal-time expressive DSP package for Python built on lazy streams, filters and synthesis.PythonGPL-3.0Learning and prototyping DSP and stream processing in Python.
FlockinginactiveJavaScript audio synthesis framework using declarative JSON specs, aimed at artists and experimental web sound.JavaScriptMIT OR GPL-2.0Declaratively specifying synthesis graphs as data for generative web audio.
ThrenoscopeinactiveA live-coding instrument for spatial microtonal drones over long durations.SuperColliderAGPL-3.0Drone/microtonal and long-form live-coding performance and research.

Notable picks

Pedalboard Python · GPL-3.0

Fast Python library for audio effects and VST3/AU plugin hosting, built on JUCE by Spotify. Best for batch audio processing, applying effects, and hosting VST/AU plugins from Python. Versus SoundFile: it's also written in Python, so switching is low-friction.

pydub Python · MIT

High-level Python library for simple audio editing: slice, concatenate, convert, and apply gain. Best for quick, scripted audio-file editing and format conversion. Versus SoundFile: it's also written in Python, so switching is low-friction.

pyo Python · LGPL-3.0

Python module written in C for building real-time audio signal-processing and synthesis scripts. Best for writing real-time synthesis and DSP patches directly in Python. Versus SoundFile: it's also written in Python, so switching is low-friction.

python-sounddevice Python · MIT

Play and record NumPy audio arrays via PortAudio, with blocking and callback streaming. Best for recording and playback of audio in Python scripts and realtime callback pipelines. Versus SoundFile: it's also written in Python, so switching is low-friction.

Supriya Python · MIT

Python API for the SuperCollider synthesis server: build synths, patterns and score audio. Best for driving SuperCollider synthesis and sequencing from Python, including offline rendering. Versus SoundFile: it's also written in Python, so switching is low-friction.

Related Python tools

Other Python tools worth a look, from adjacent categories.

AbjadACE-StepAmphionaubioAudioCraft (MusicGen)
← SoundFile overviewAll synthesis & dsp tools