pydub Alternatives
Looking for an alternative to pydub? It's high-level Python library for simple audio editing: slice, concatenate, convert, and apply gain. 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.
| Alternative | Language | License | Best for |
|---|---|---|---|
| PedalboardFast Python library for audio effects and VST3/AU plugin hosting, built on JUCE by Spotify. | Python | GPL-3.0 | Batch audio processing, applying effects, and hosting VST/AU plugins from Python. |
| pyoPython module written in C for building real-time audio signal-processing and synthesis scripts. | Python | LGPL-3.0 | Writing real-time synthesis and DSP patches directly in Python. |
| python-sounddevicePlay and record NumPy audio arrays via PortAudio, with blocking and callback streaming. | Python | MIT | Recording and playback of audio in Python scripts and realtime callback pipelines. |
| SoundFileRead and write WAV/FLAC/OGG and other formats via libsndfile, returning NumPy arrays. | Python | BSD-3-Clause | Loading and saving audio files as NumPy data in analysis and DSP pipelines. |
| SupriyaPython API for the SuperCollider synthesis server: build synths, patterns and score audio. | Python | MIT | Driving 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. | Csound | GPL-3.0 | Csound 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. | Csound | LGPL-2.1 | Precise, 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++ | MIT | Writing portable DSP shared between web apps and native audio plugins. |
| FaustFunctional DSP language that compiles to C++, WebAssembly, plugins and many other targets. | Faust | LGPL-2.1-or-later | Writing 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. | JavaScript | MIT | Performance-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 Commercial | Shipping 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 / Gen | Proprietary | Interactive audio/media artists wanting visual patching with embedded scripting. |
| NyquistLisp/SAL language for sound synthesis and algorithmic composition; also embedded in Audacity. | Lisp / SAL | See project | Scripted synthesis and composition, and writing Audacity effects. |
| Pure DataVisual dataflow environment for real-time synthesis, audio processing and interactive multimedia. | Pd (visual) | BSD-3-Clause | Interactive, patch-based sound and multimedia work. |
| RTcmixReal-time descendant of Cmix: a C-based synthesis engine driven by Minc scripting scores. | Minc / C | Apache-2.0 | Score-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++ | MIT | Embedding 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. | JavaScript | MIT | Tiny procedural game sound effects where every byte counts. |
| AudioLazyinactiveReal-time expressive DSP package for Python built on lazy streams, filters and synthesis. | Python | GPL-3.0 | Learning and prototyping DSP and stream processing in Python. |
| FlockinginactiveJavaScript audio synthesis framework using declarative JSON specs, aimed at artists and experimental web sound. | JavaScript | MIT OR GPL-2.0 | Declaratively specifying synthesis graphs as data for generative web audio. |
| ThrenoscopeinactiveA live-coding instrument for spatial microtonal drones over long durations. | SuperCollider | AGPL-3.0 | Drone/microtonal and long-form live-coding performance and research. |
Notable picks
Pedalboard
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.
pyo
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.
python-sounddevice
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.
SoundFile
Read and write WAV/FLAC/OGG and other formats via libsndfile, returning NumPy arrays. Best for loading and saving audio files as NumPy data in analysis and DSP pipelines.
Supriya
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.
Related Python tools
Other Python tools worth a look, from adjacent categories.