spotify/pedalboard

🎛 🔊 A Python library for audio.

What it solves

Pedalboard makes it easy to process, transform, and manipulate audio files directly within Python. It eliminates the need for a traditional Digital Audio Workstation (DAW) by allowing developers to apply studio-quality effects, read and write various audio formats, and even load third-party VST3 or Audio Unit plugins programmatically.

How it works

At its core, Pedalboard acts as a high-performance audio processing engine. You create a Pedalboard object, add various effects or plugins to it, and pass your audio data through that chain. It is designed for speed and efficiency, releasing Python's Global Interpreter Lock (GIL) to utilize multiple CPU cores. It integrates seamlessly with machine learning workflows, such as TensorFlow data pipelines, and supports real-time audio streaming.

Who it’s for

This library is built for audio engineers, data scientists, and software developers who need to automate audio processing tasks. It is particularly useful for those performing data augmentation for machine learning models or building custom audio-processing applications without relying on manual, GUI-based software.

Highlights

  • Supports reading and writing common audio formats like WAV, MP3, FLAC, and OGG without external dependencies.
  • Includes a wide variety of built-in effects, including compression, distortion, reverb, delay, and pitch shifting.
  • Compatible with third-party VST3 and Audio Unit plugins for expanded sound design capabilities.
  • High-performance architecture that is significantly faster than many existing Python audio libraries.
  • Fully compatible with TensorFlow for training machine learning models on audio data.

Related

  • Project
  • Project
  • Project
  • Project
  • Project