Pedalboard is a Python library for working with audio: reading, writing, rendering, adding effects, and more. Built by Spotify's Audio Intelligence Lab, it supports most popular audio file formats, a number of common audio effects out of the box, and also allows the use of VST3® and Audio Unit formats for loading third-party software instruments and effects. It's designed for high-performance audio processing, including use in machine learning workflows with TensorFlow. The current version is 0.9.22 and it is actively maintained.
pip install pedalboardVerified import paths — ran on the pinned version, not inferred.
This quickstart generates a simple sine wave, applies a chorus, reverb, and gain effect using a `Pedalboard` object, and then saves the processed audio to a WAV file. It demonstrates the basic workflow of creating a pedalboard and processing audio buffers.
Upgrade your Python interpreter to version 3.10 or higher (e.g., Python 3.11, 3.12).
Consult the `COMPATIBILITY.md` file in the Pedalboard GitHub repository for known compatible plugins. Exercise caution and test thoroughly when integrating third-party plugins.
Test your specific live audio setup extensively to ensure acceptable latency. Monitor CPU usage and buffer sizes. For critical low-latency applications, consider dedicated audio frameworks if Pedalboard does not meet requirements.
If experiencing GUI issues, try updating your display drivers or using a different windowing environment. For production, consider running plugins headless if GUI interaction is not strictly necessary.
Run `pip install pedalboard` in your terminal to install the library.
Verify the exact path to the .vst3 file is correct. Ensure the plugin is a standalone VST3 and not a wrapper or shell that 'pedalboard' might not directly support. Check the plugin's compatibility with 'pedalboard' and your operating system.
Update 'pedalboard' and 'numpy' to their latest versions (`pip install --upgrade pedalboard numpy`). If the issue persists, try using a different Python version (e.g., Python 3.9, 3.10, or 3.11 have shown better stability in some cases) or isolating 'pedalboard' usage from other potentially conflicting libraries.
Process large audio files in smaller, manageable chunks using a loop with `AudioFile.read(chunk_size)` to avoid loading the entire file into RAM simultaneously.