pedalboard is a Python library for adding effects to audio.

Overview

Pedalboard Logo

License: GPL v3 PyPI - Python Version Supported Platforms Apple Silicon supported PyPI - Wheel Test Badge Coverage Badge GitHub Repo stars

pedalboard is a Python library for adding effects to audio. It supports a number of common audio effects out of the box, and also allows the use of VST3® and Audio Unit plugin formats for third-party effects. It was built by Spotify's Audio Intelligence Lab to enable using studio-quality audio effects from within Python and TensorFlow.

Usage

  • Built-in support for a number of basic audio transformations:
    • Convolution
    • Compressor
    • Chorus
    • Distortion
    • Gain
    • HighpassFilter
    • LadderFilter
    • Limiter
    • LowpassFilter
    • Phaser
    • Reverb
  • Supports VST3® plugins on macOS, Windows, and Linux
  • Supports Audio Units on macOS
  • Strong thread-safety, memory usage, and speed guarantees
    • Releases Python's Global Interpreter Lock (GIL) to allow use of multiple CPU cores
      • No need to use multiprocessing!
    • Even when only using one thread:
      • Processes audio up to 300x faster than pySoX
  • Tested compatibility with TensorFlow - can be used in tf.data pipelines!

Installation

pedalboard is available via PyPI (via Platform Wheels):

pip install pedalboard

Compatibility

pedalboard is thoroughly tested with Python 3.6, 3.7, 3.8, and 3.9, as well as experimental support for PyPy 7.3.

  • Linux
    • Tested heavily in production use cases at Spotify
    • Tested automatically on GitHub with VSTs
    • Platform manylinux wheels built for x86_64
    • Most Linux VSTs require a relatively modern Linux installation (with glibc > 2.27)
  • macOS
    • Tested manually with VSTs and Audio Units
    • Tested automatically on GitHub with VSTs
    • Platform wheels available for both Intel and Apple Silicon
    • Compatible with a wide range of VSTs and Audio Units
  • Windows
    • Tested automatically on GitHub with VSTs
    • Platform wheels available for amd64 (Intel/AMD)

Examples

A very basic example of how to use pedalboard's built-in plugins:

import soundfile as sf
from pedalboard import (
    Pedalboard,
    Convolution,
    Compressor,
    Chorus,
    Gain,
    Reverb,
    Limiter,
    LadderFilter,
    Phaser,
)

audio, sample_rate = soundfile.read('some-file.wav')

# Make a Pedalboard object, containing multiple plugins:
board = Pedalboard([
    Compressor(threshold_db=-50, ratio=25),
    Gain(gain_db=30),
    Chorus(),
    LadderFilter(mode=LadderFilter.Mode.HPF12, cutoff_hz=900),
    Phaser(),
    Convolution("./guitar_amp.wav", 1.0),
    Reverb(room_size=0.25),
], sample_rate=sr)

# Pedalboard objects behave like lists, so you can add plugins:
board.append(Compressor(threshold_db=-25, ratio=10))
board.append(Gain(gain_db=10))
board.append(Limiter())

# Run the audio through this pedalboard!
effected = board(audio)

# Write the audio back as a wav file:
with sf.SoundFile('./processed-output-stereo.wav', 'w', samplerate=sr, channels=effected.shape[1]) as f:
    f.write(effected)

Loading a VST3® plugin and manipulating its parameters

import soundfile as sf
from pedalboard import Pedalboard, Reverb, load_plugin

# Load a VST3 package from a known path on disk:
vst = load_plugin("./VSTs/RoughRider3.vst3")

print(vst.parameters.keys())
# dict_keys([
#   'sc_hpf_hz',
#   'input_lvl_db',
#   'sensitivity_db',
#   'ratio',
#   'attack_ms',
#   'release_ms',
#   'makeup_db',
#   'mix',
#   'output_lvl_db',
#   'sc_active',
#   'full_bandwidth',
#   'bypass',
#   'program',
# ])

# Set the "ratio" parameter to 15
vst.ratio = 15

# Use this VST to process some audio:
audio, sample_rate = soundfile.read('some-file.wav')
effected = vst(audio, sample_rate=sample_rate)

# ...or put this VST into a chain with other plugins:
board = Pedalboard([vst, Reverb()], sample_rate=sample_rate)
# ...and run that pedalboard with the same VST instance!
effected = board(audio)

For more examples, see the Pedalboard Demo Colab notebook example.

Contributing

Contributions to pedalboard are welcomed! See CONTRIBUTING.md for details.

License

pedalboard is Copyright 2021 Spotify AB.

pedalboard is licensed under the GNU General Public License v3, because:

VST is a registered trademark of Steinberg Media Technologies GmbH.

Comments
  • Is there a way to open preset file?

    Is there a way to open preset file?

    I am using an external VST3 Plugin and MacOS.

    Is there any way to load .fxp preset file or .patch file? I want to use parameters stored in the preset file.

    enhancement good first issue 
    opened by WonGilHuh 10
  • All the tests involving CHOWTapeModel.component fail

    All the tests involving CHOWTapeModel.component fail

    I have create a conda environment, installed pybind11 and tox via conda and run tox. But all the tests involving CHOWTapeModel.component fail.

    Some more details (please tell me if you want more information):

    • macOS BigSur 11.4
    • Python 3.8.12

    Any idea?

    stale 
    opened by LucaMarconato 8
  • ModuleNotFoundError: No module named 'pedalboard.io'

    ModuleNotFoundError: No module named 'pedalboard.io'

    Hi, thank you for your excellent project! On MacOS and Linux, after I installed the project via "pip install pedalboard", the following problem occurred: 截屏2022-03-15 下午9 21 26

    opened by Joyako 6
  • dearVR MICRO plugin shows

    dearVR MICRO plugin shows "Azimuth" parameter as "azimuth_ᅡᄚ"

    Hi, I'd to know if it possible some help.

    What is the problem with this code?

    import soundfile as sf
    from pedalboard import load_plugin
    
    dearVR = load_plugin("python/dearVR MICRO.vst3")
    dearVR.parameters["azimuth_ᅡᄚ"] = -50
    
    audio, sample_rate = sf.read('C:/Users/neimog/OneDrive - design.ufjf.br/Documentos/REAPER Media/untitled.wav')
    
    #
    final_audio = dearVR.process(audio, sample_rate, output_channels=2)
    
    ## save audio 
    #sf.write('C:/Users/neimog/OneDrive/Documentos/OM - Workspace/out-files/sound-with-dearVR.wav', final_audio, sample_rate)
    

    Because I am having this error:

    Traceback (most recent call last):
      File "c:\Users\neimog\OneDrive - design.ufjf.br\Documentos\OM - Workspace\OM-Libraries\OM-CKN\python\vst3-with-OM.py", line 10, in <module>
        final_audio = dearVR.process(audio, sample_rate, output_channels=2)
    TypeError: process(): incompatible function arguments. The following argument types are supported:
        1. (self: pedalboard_native.Plugin, input_array: numpy.ndarray[numpy.float32], sample_rate: float, buffer_size: int = 8192) -> numpy.ndarray[numpy.float32]
        2. (self: pedalboard_native.Plugin, input_array: numpy.ndarray[numpy.float64], sample_rate: float, buffer_size: int = 8192) -> numpy.ndarray[numpy.float32]
    
    Invoked with: <pedalboard.VST3Plugin "dearVR MICRO" at 00000281F9A23270>, array([[ 0.00000000e+00,  0.00000000e+00],
           [-1.87195837e-07, -1.87195837e-07],
           [-1.28382817e-06, -1.28382817e-06],
           ...,
           [ 0.00000000e+00,  0.00000000e+00],
           [ 0.00000000e+00,  0.00000000e+00],
           [ 0.00000000e+00,  0.00000000e+00]]), 44100; kwargs: output_channels=2
    

    Sorry if this is an elementary mistake. I am starting to coding!

    bug 
    opened by charlesneimog 6
  • Writing Pedalboard plugins in Python

    Writing Pedalboard plugins in Python

    Thanks for a fascinating library!

    Is there some way to put user-written pure Python modules, using numpy of course, into the signal chain?

    It would be very desirable to be able to write plugins to Pedalboard as Python functions with an interface like this one of yours.

    I certainly have a lot of code ready to go for this.

    However, the ExternalPlugin class appears to only allow binary externals.

    enhancement good first issue 
    opened by rec 6
  • FabFilter plugins produce silent output

    FabFilter plugins produce silent output

    While applying board effects to audios most often some of the exported audios are just blank. I am using FabFilter Plugins. Specifically using ( 'FabFilter Pro-Q 3.vst3' , 'FabFilter Pro-Q 3.vst3' , 'FabFilter Pro-C 2.vst3', 'FabFilter Pro-R.vst3', 'FabFilter Pro-L 2.vst3' ) in the order they are written in.

    opened by akarshmishra001 5
  • Updated JUCE to version 6.1.4

    Updated JUCE to version 6.1.4

    update-juce: Checked out the latest version of JUCE

    Problem In order to work on this issue, an update of JUCE is first needed. The discussion there outlines why.

    Solution I simply updated the JUCE submodule to the latest stable master commit (their commit message is aptly "JUCE version 6.1.4"). I made sure to detach the HEAD in order to prevent automatically updating in the future.

    Comments Running tox, the tests on my end seem to be all good. I was unable to run lint tests but this isn't a concern for this specific PR. Lint seems to be concerned with syntactical and stylistic problems but the only thing this PR is doing is updating JUCE. Moving forward I will need to sort out this lint issue.

    P.S. This is my first PR to any open source project! It's quite a trivial one, but I look forward to contributing more. Let me know if I did anything wrong and thank you for your patience with my learning in advance.

    opened by HussainAbdi 5
  • Split stereo channels and mix them together [question]

    Split stereo channels and mix them together [question]

    Hi all,

    I'm wondering if it's possible to split the channels of an audio file, apply effects individually to each channel, and mix them together at the end. Any code snippet to share?

    Thank you in advance!

    opened by fabienrohrer 4
  • MP3Compressor introduces audible glitches

    MP3Compressor introduces audible glitches

    MP3Compressor: Introduces audible glitches in multiprocessing environment, in particular tf.data.

    Expected behavior

    • Releases Python's Global Interpreter Lock (GIL) to allow use of multiple CPU cores
    • Tested compatibility with TensorFlow - can be used in tf.data pipelines!

    Therefore, would expect that multiple instances of MP3Compressor are ok.

    Actual behavior

    When calling MP3Compressor from a tf.numpy_function() using tf.data:

    def rand_mp3compression(signal, sample_rate):
        return MP3Compressor(np.random.uniform(1.0, 9.5)).process(signal, sample_rate)
    
    dataset.map(
        lambda audio: tf.numpy_function(rand_mp3compression, [audio, sample_rate], tf.float32), 
        num_parallel_calls=2
    )
    

    This results in audible glitches which are also visible in the spectrum: Screenshot 2022-07-27 at 18 54 50

    The issue vanishes when setting num_parallel_calls=1, which indicates a problem with multiprocessing. Using the GSM compression does not show a similar issue, so maybe it is connected to the Lame mp3 implementation?

    Steps to reproduce the behavior

    Working example:

    import pedalboard
    import tensorflow as tf
    import numpy as np
    from pedalboard import MP3Compressor
    import librosa
    from librosa import display
    import matplotlib.pyplot as plt
    
    AUTOTUNE = tf.data.experimental.AUTOTUNE
    
    sample_rate = 24000
    audio_len = 24000 * 5
    
    audio, sr = librosa.load(librosa.example('brahms'), sr=sample_rate)
    
    def data_gen():
      yield audio[audio_len*3:audio_len*4]
    
    def rand_mp3compression(signal, sample_rate):
      return MP3Compressor(np.random.uniform(1.0, 9.5)).process(signal, sample_rate)
    
    dataset = tf.data.Dataset.from_generator(
        data_gen,
        output_signature=(
            tf.TensorSpec(shape=(int(audio_len),), dtype=tf.float32)
            )
        )
    dataset = dataset.repeat()
    
    dataset = dataset.map(
        lambda audio: (tf.numpy_function(rand_mp3compression, [audio, sample_rate], tf.float32), audio), num_parallel_calls=2
    )
    
    dataset = dataset.batch(32)
    
    for elem in dataset.take(1):
      elem = elem[0][4]
      print(elem.shape)
    
    y = elem.numpy()
    D = librosa.stft(y)  
    S_db = librosa.amplitude_to_db(np.abs(D), ref=np.max)
    
    plt.figure(figsize=(10,10))
    display.specshow(S_db)
    plt.colorbar()
    
    opened by iCorv 4
  • Linux build needs extra libraries to build

    Linux build needs extra libraries to build

    Expected behaviour Building and running pedalboard on Linux, specifically RedHat succeeds

    Actual behaviour After building and running a python script that imports pedalboard the following stacktrace is seen, along with others for the other missing libraries

    Traceback (most recent call last): File "scratch.py", line 6, in from pedalboard import Pedalboard, Chorus, Reverb File "/home/wilhadden/work/misc/pedalboard/pedalboard/init.py", line 18, in from pedalboard_native import * # noqa: F403, F401 ImportError: /home/wilhadden/work/misc/pedalboard/pedalboard_native.cpython-36m-x86_64-linux-gnu.so: undefined symbol: lame_get_encoder_delay

    Steps to reproduce the behaviour Build pedalboard on RedHat, possibly other linux distros Run python3 interactively import pedalboard

    Potential fix Add in missing static libraries

    --- a/setup.py
    +++ b/setup.py
    @@ -202,7 +202,7 @@ elif platform.system() == "Linux":
             )
             include_paths = [flag[2:] for flag in flags]
             ALL_INCLUDES += include_paths
    -    ALL_LINK_ARGS += ['-lfreetype']
    +    ALL_LINK_ARGS += ['-lfreetype -lmp3lame -lgsm -lrubberband']
    
    
    opened by rm-star 4
  • Valhalla Supermassive - does not accept audio input?

    Valhalla Supermassive - does not accept audio input?

    Hello, I've been working on a little proof-of-concept, and one of the plugins I would like to use in it is an external .vst3 plugin called Supermassive, by Valhalla: https://valhalladsp.com/shop/reverb/valhalla-supermassive/

    However, when I try to load it using plg_supermassive = load_plugin("./VST3s/ValhallaSupermassive.vst3"), Python spits out ValueError: Plugin 'ValhallaSupermassive' does not accept audio input. It may be an instrument plug-in and not an audio effect processor.

    This plugin is most definitely an effects plugin and not a synth plugin. In addition, I have some other external plugins already working fine in my project.

    This is the only plugin that I want to have in my proof-of-concept that doesn't work-- but without it, the outputted audio just doesn't sound as realistic. I've tried using Pedalboard's built-in reverb, as well as some other reverbs that do work, but I can't get them dialed in as well as I have Supermassive dialed in inside my DAW.

    Any help or pointers would be appreciated... Am I missing something?

    bug 
    opened by pl4sma2389 4
  • Save and Load Presets Automatically for VST3 Plugins?

    Save and Load Presets Automatically for VST3 Plugins?

    Hello. I'm trying to save the changes I make after I use the show_editor function. What's the best way of saving presets for plugins?

    I tried dumping the whole session with dill.dump_session but this gives me this warning and error: PicklingWarning: Pickling a PyCapsule (None) does not pickle any C data structures and could cause segmentation faults or other memory errors when unpickling. TypeError: cannot pickle 'pedalboard_native.io.WriteableAudioFile' object

    Using load_preset with .fxp files isn't much better. It doesn't work with certain plugins and I also don't see a way of saving it. Maybe a save_preset function could be a feature in future versions?

    Trying to load a preset for ChorusGAS.vst3 gives me this error: RuntimeError: Plugin returned an error when loading data from preset file

    Any ideas on how to approach this issue?

    opened by Isak-Andersson 0
  • Fix parsing of MP3 files that start with ID3 tags and end with LYRICS3 blocks.

    Fix parsing of MP3 files that start with ID3 tags and end with LYRICS3 blocks.

    This is a knock-on to https://github.com/spotify/pedalboard/pull/164, which added support for parsing MP3 files containing the non-standard Lyrics3 extension.

    That change was not properly rolled out - the code was added and the tests passed, but some test audio files still failed. It seems that the original MP3 parser's bug is only hit if the MP3 file contains an ID3 tag at its start. A test MP3 fixture is added as part of this PR to enable a more complete regression test.

    (cc @f90)

    bug 
    opened by psobot 0
  • vst_plugin in a for loop - multiprocessing issue

    vst_plugin in a for loop - multiprocessing issue

    I'm using Pedalboard (which is amazing -thank you)to process a large number (8K) of audio files, using a VST3 plugin (Waves Clarity Vx Pro). I'm using the plugin in a simple for-loop:

    if __name__ == '__main__':
        for audio_file in tqdm.tqdm(raw_files):
            vst_plugin(
                audio_file, 
                plugin_location=f'{str(clarity)}', 
                output_directory=output_directory
            )
    

    After awhile (never got past > 150 files) I hit a error, which I must confess is quite beyond my Python skills:

    %|█▋                                                                                                                                       | 91/7559 [03:04<4:07:24,  1.99s/it]Not auto-determining label: found {'', 'dB'}
    zsh: segmentation fault  python cleaning_tests_mac.py
    (cleaning_eval) ec2-user@ip-172-31-16-239 cleaning_eval % /usr/local/Caskroom/miniconda/base/envs/cleaning_eval/lib/python3.10/multiprocessing/resource_tracker.py:224: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
      warnings.warn('resource_tracker: There appear to be %d '
    

    I'm open to suggestions to get around this?

    opened by cweaver-logitech 5
  • How is tempo set? [question]

    How is tempo set? [question]

    I cant find anywhere in the documentation where tempo can be established. I have loaded a vst3 delay plugin and having an input tempo is critical to have the plugin perform appropriately.

    opened by rhelsing 3
Releases(v0.6.7)
  • v0.6.7(Dec 4, 2022)

    What's Changed

    • Empty sample buffers are no longer errantly returned when seeking certain FLAC files. (https://github.com/spotify/pedalboard/pull/173)

    Full Changelog: https://github.com/spotify/pedalboard/compare/v0.6.6...v0.6.7

    Source code(tar.gz)
    Source code(zip)
  • v0.6.6(Nov 30, 2022)

    What's Changed

    • Allow backwards compatibility when setting float parameters to strings. (https://github.com/spotify/pedalboard/pull/169)

    Full Changelog: https://github.com/spotify/pedalboard/compare/v0.6.5...v0.6.6

    Source code(tar.gz)
    Source code(zip)
  • v0.6.5(Nov 28, 2022)

    What's Changed

    • Explicitly ignore "dB" and "dBTP" when used as a value suffix by VST and AU plugins. (https://github.com/spotify/pedalboard/pull/167)

    Full Changelog: https://github.com/spotify/pedalboard/compare/v0.6.4...v0.6.5

    Source code(tar.gz)
    Source code(zip)
  • v0.6.4(Nov 18, 2022)

    What's Changed

    • Patch MP3 parser to correctly ignore Lyrics3 data. (https://github.com/spotify/pedalboard/pull/164)

    Full Changelog: https://github.com/spotify/pedalboard/compare/v0.6.3...v0.6.4

    Source code(tar.gz)
    Source code(zip)
  • v0.6.3(Oct 25, 2022)

    What's Changed

    • Fixed an incompatibility with asyncio. (https://github.com/spotify/pedalboard/pull/155)

    Full Changelog: https://github.com/spotify/pedalboard/compare/v0.6.2...v0.6.3

    Source code(tar.gz)
    Source code(zip)
  • v0.6.2(Sep 23, 2022)

    What's Changed

    • Fix parameter inference for Valhalla Supermassive. (https://github.com/spotify/pedalboard/pull/149)
    • Add hard clipping plugin. (https://github.com/spotify/pedalboard/pull/150)

    Full Changelog: https://github.com/spotify/pedalboard/compare/v0.6.1...v0.6.2

    Source code(tar.gz)
    Source code(zip)
  • v0.6.1(Sep 9, 2022)

    What's Changed

    • Add workaround for loading certain misbehaving plugins. (https://github.com/spotify/pedalboard/pull/148)

    Full Changelog: https://github.com/spotify/pedalboard/compare/v0.6.0...v0.6.1

    Source code(tar.gz)
    Source code(zip)
  • v0.6.0(Sep 8, 2022)

    What's Changed

    • Fix ineffective getter/setter on NoiseGate (@iCorv, https://github.com/spotify/pedalboard/pull/144)
    • Add stream resampler and resampling AudioFile. (https://github.com/spotify/pedalboard/pull/145)

    New Contributors

    • @iCorv made their first contribution in https://github.com/spotify/pedalboard/pull/144

    Full Changelog: https://github.com/spotify/pedalboard/compare/v0.5.10...v0.6.0

    Source code(tar.gz)
    Source code(zip)
  • v0.5.10(Aug 22, 2022)

    What's Changed

    • Added Python 3.11.0-rc1 support. (https://github.com/spotify/pedalboard/pull/139)

    Full Changelog: https://github.com/spotify/pedalboard/compare/v0.5.9...v0.5.10

    Source code(tar.gz)
    Source code(zip)
  • v0.5.9(Aug 12, 2022)

    What's Changed

    • Fixed exceptions and crashes when including None in a PluginContainer. (https://github.com/spotify/pedalboard/pull/140)

    Full Changelog: https://github.com/spotify/pedalboard/compare/v0.5.8...v0.5.9

    Source code(tar.gz)
    Source code(zip)
  • v0.5.8(Jul 28, 2022)

    What's Changed

    • Fixed a thread safety issue in MP3Compressor. (https://github.com/spotify/pedalboard/pull/129)

    Full Changelog: https://github.com/spotify/pedalboard/compare/v0.5.7...v0.5.8

    Source code(tar.gz)
    Source code(zip)
  • v0.5.7(Jul 27, 2022)

    What's Changed

    • Allowed Pedalboard to compile against JUCE 6.15+ on Red Hat. (@rm-star, https://github.com/spotify/pedalboard/pull/121)
    • Fixed pybind11 inheritance chain to allow accessing properties on IIRFilter subclasses. (https://github.com/spotify/pedalboard/pull/124)
    • Removed redundant input channel count check for Valhalla Supermassive on Windows. (https://github.com/spotify/pedalboard/pull/126)
    • Compile wheels on macOS 12. (https://github.com/spotify/pedalboard/pull/125)

    New Contributors

    • @rm-star made their first contribution in https://github.com/spotify/pedalboard/pull/121

    Full Changelog: https://github.com/spotify/pedalboard/compare/v0.5.6...v0.5.7

    Source code(tar.gz)
    Source code(zip)
  • v0.5.6(Jul 19, 2022)

    What's Changed

    • Added auto-generated Sphinx documentation. (https://github.com/spotify/pedalboard/pull/119)
    • ReadableAudioFile.read_raw now returns an untyped np.ndarray. (https://github.com/spotify/pedalboard/pull/119)
    • WriteableAudioFile.write now accepts an untyped np.ndarray. (https://github.com/spotify/pedalboard/pull/119)
    • WriteableAudioFile.__init__ now supports best, worst, fastest, and slowest quality options. (https://github.com/spotify/pedalboard/pull/119)

    Full Changelog: https://github.com/spotify/pedalboard/compare/v0.5.5...v0.5.6

    Source code(tar.gz)
    Source code(zip)
  • v0.5.5(Jul 13, 2022)

    tl;dr: A couple bug fixes, smaller binary wheels, and better support for autocomplete and type hints in IDEs. 🎉

    image

    Bug Fixes

    • Add __repr__ to PitchShift. (https://github.com/spotify/pedalboard/pull/102)
    • Fix changing plugin parameters example code in README.md (@nashaad, https://github.com/spotify/pedalboard/pull/107)
    • Allow negative indices when accessing Pedalboard objects like lists. (https://github.com/spotify/pedalboard/pull/114)
    • Ensure that IIR filters are applied to all channels. (https://github.com/spotify/pedalboard/pull/116)

    Optimizations

    • Avoid exposing internal symbols to decrease binary size. (https://github.com/spotify/pedalboard/pull/101)

    New Features

    • Add type hinting and stub files for editor autocomplete. (https://github.com/spotify/pedalboard/pull/117)

    New Contributors

    • @nashaad made their first contribution in https://github.com/spotify/pedalboard/pull/107

    Full Changelog: https://github.com/spotify/pedalboard/compare/v0.5.4...v0.5.5

    Source code(tar.gz)
    Source code(zip)
  • v0.5.4(Apr 25, 2022)

    What's Changed

    • Fix AudioFile behaviour when overwriting existing audio files. (https://github.com/spotify/pedalboard/pull/99)

    Full Changelog: https://github.com/spotify/pedalboard/compare/v0.5.3...v0.5.4

    Source code(tar.gz)
    Source code(zip)
  • v0.5.3(Mar 28, 2022)

    What's Changed

    • Handle plugin parameter value parsing better for plugins that expose Hz/kHz values. (https://github.com/spotify/pedalboard/pull/89)
    • Added MP3 writing support to AudioFile. (https://github.com/spotify/pedalboard/pull/93)

    Full Changelog: https://github.com/spotify/pedalboard/compare/v0.5.2...v0.5.3

    Source code(tar.gz)
    Source code(zip)
  • v0.5.2(Mar 24, 2022)

    Compatibility release to re-enable binary platform wheels for macosx_x86_64 machines (i.e.: older Intel Macs or Apple Silicon machines running Python under Rosetta 2.)

    Source code(tar.gz)
    Source code(zip)
  • v0.5.1(Mar 16, 2022)

  • v0.5.0(Mar 13, 2022)

    What's Changed

    • Added pedalboard.io.AudioFile. (https://github.com/spotify/pedalboard/pull/85)
    • Added support for loading plugin containers (i.e.: Waves, Native Instruments, etc) (https://github.com/spotify/pedalboard/pull/87)

    Full Changelog: https://github.com/spotify/pedalboard/compare/v0.4.4...v0.5.0

    Source code(tar.gz)
    Source code(zip)
  • v0.4.4(Mar 5, 2022)

    What's Changed

    • Added experimental support for showing VST/AU UIs with .show_editor(). (https://github.com/spotify/pedalboard/pull/84)

    Full Changelog: https://github.com/spotify/pedalboard/compare/v0.4.3...v0.4.4

    Source code(tar.gz)
    Source code(zip)
  • v0.4.3(Mar 1, 2022)

    What's Changed

    • Add shelving and notch/peak filters. (https://github.com/spotify/pedalboard/pull/79)

    Full Changelog: https://github.com/spotify/pedalboard/compare/v0.4.2...v0.4.3

    Source code(tar.gz)
    Source code(zip)
  • v0.4.2(Feb 22, 2022)

    What's Changed

    • Fix external plugin bus handling to avoid segfault with Guitar Rig. (https://github.com/spotify/pedalboard/pull/81)

    Full Changelog: https://github.com/spotify/pedalboard/compare/v0.4.1...v0.4.2

    Source code(tar.gz)
    Source code(zip)
  • v0.4.1(Feb 10, 2022)

    What's Changed

    • Added Bitcrush plugin. (https://github.com/spotify/pedalboard/pull/78)

    Full Changelog: https://github.com/spotify/pedalboard/compare/v0.4.0...v0.4.1

    Source code(tar.gz)
    Source code(zip)
  • v0.4.0(Feb 9, 2022)

    Breaking Changes

    • The Pedalboard constructor no longer supports the sample_rate parameter.

    What's Changed

    • Allow Pedalboard objects to be used as plugins (i.e. nesting) (https://github.com/spotify/pedalboard/pull/68)
    • Added Mix plugin to allow parallel processing (i.e.: buses) (https://github.com/spotify/pedalboard/pull/68)
    • Added Invert, Resample, and GSMFullRateCompressor plugins (https://github.com/spotify/pedalboard/pull/70, https://github.com/spotify/pedalboard/pull/75, https://github.com/spotify/pedalboard/pull/72)
    • Prevented memory leaks if invalid parameters are passed to plugin constructors (https://github.com/spotify/pedalboard/pull/73)
    • Fixed boundary effects before (and after) some pitch shift operations (https://github.com/spotify/pedalboard/pull/74)

    Full Changelog: https://github.com/spotify/pedalboard/compare/v0.3.14...v0.4.0

    Source code(tar.gz)
    Source code(zip)
  • v0.3.14(Jan 31, 2022)

    What's Changed

    • Add MP3Compressor plugin by @psobot in https://github.com/spotify/pedalboard/pull/71

    Full Changelog: https://github.com/spotify/pedalboard/compare/v0.3.13...v0.3.14

    Source code(tar.gz)
    Source code(zip)
  • v0.3.13(Jan 28, 2022)

    What's Changed

    • Add VST3 preset loading API by @emilio1234 in https://github.com/spotify/pedalboard/pull/67
    • Fix audio glitches when running VST3 or AU plugins whose reported latency exceeds buffer size by @psobot in https://github.com/spotify/pedalboard/pull/69
    • Add Delay plugin by @psobot in https://github.com/spotify/pedalboard/pull/66

    New Contributors

    • @emilio1234 made their first contribution in https://github.com/spotify/pedalboard/pull/67

    Full Changelog: https://github.com/spotify/pedalboard/compare/v0.3.12...v0.3.13

    Source code(tar.gz)
    Source code(zip)
  • v0.3.12(Jan 25, 2022)

    What's Changed

    • Compensate for plugin latency. by @psobot in https://github.com/spotify/pedalboard/pull/64
    • Change PitchShift plugin interface to use semitones. by @psobot in https://github.com/spotify/pedalboard/pull/65

    Full Changelog: https://github.com/spotify/pedalboard/compare/v0.3.11...v0.3.12

    Source code(tar.gz)
    Source code(zip)
  • v0.3.11(Jan 19, 2022)

    What's Changed

    • Add PitchShift plugin by @Johnxjp in https://github.com/spotify/pedalboard/pull/59

    New Contributors

    • @Johnxjp made their first contribution in https://github.com/spotify/pedalboard/pull/59

    Full Changelog: https://github.com/spotify/pedalboard/compare/v0.3.10...v0.3.11

    Source code(tar.gz)
    Source code(zip)
  • v0.3.10(Jan 3, 2022)

    What's Changed

    • Normalize sharps and flats in parameter names. by @psobot in https://github.com/spotify/pedalboard/pull/58

    Full Changelog: https://github.com/spotify/pedalboard/compare/v0.3.9...v0.3.10

    Source code(tar.gz)
    Source code(zip)
  • v0.3.9(Jan 1, 2022)

    What's Changed

    • fix: looks_like_float random falses by @carlostorreswav in https://github.com/spotify/pedalboard/pull/38
    • Fix tests when running on Apple Silicon. by @psobot in https://github.com/spotify/pedalboard/pull/56
    • Updated JUCE to version 6.1.4 by @HussainAbdi in https://github.com/spotify/pedalboard/pull/55
    • Enable linux docker builds on Apple Silicon (aarch64 Linux support) by @i in https://github.com/spotify/pedalboard/pull/47

    New Contributors

    • @carlostorreswav made their first contribution in https://github.com/spotify/pedalboard/pull/38
    • @HussainAbdi made their first contribution in https://github.com/spotify/pedalboard/pull/55
    • @i made their first contribution in https://github.com/spotify/pedalboard/pull/47

    Full Changelog: https://github.com/spotify/pedalboard/compare/v0.3.8...v0.3.9

    Source code(tar.gz)
    Source code(zip)
Owner
Spotify
Spotify
cross-library (GStreamer + Core Audio + MAD + FFmpeg) audio decoding for Python

audioread Decode audio files using whichever backend is available. The library currently supports: Gstreamer via PyGObject. Core Audio on Mac OS X via

beetbox 359 Feb 15, 2021
Audio augmentations library for PyTorch for audio in the time-domain

Audio augmentations library for PyTorch for audio in the time-domain, with support for stochastic data augmentations as used often in self-supervised / contrastive learning.

Janne 166 Jan 8, 2023
convert-to-opus-cli is a Python CLI program for converting audio files to opus audio format.

convert-to-opus-cli convert-to-opus-cli is a Python CLI program for converting audio files to opus audio format. Installation Must have installed ffmp

null 4 Dec 21, 2022
Audio spatialization over WebRTC and JACK Audio Connection Kit

Audio spatialization over WebRTC Spatify provides a framework for building multichannel installations using WebRTC.

Bruno Gola 34 Jun 29, 2022
praudio provides audio preprocessing framework for Deep Learning audio applications

praudio provides objects and a script for performing complex preprocessing operations on entire audio datasets with one command.

Valerio Velardo 105 Dec 26, 2022
Voice package for Pycord adding extra features.

VoiceIO Voice package for Pycord adding extra features. Example Down bellow is an example of what you can currently do. import voiceio process = voic

pycord 1 Dec 24, 2021
Python library for audio and music analysis

librosa A python package for music and audio analysis. Documentation See https://librosa.org/doc/ for a complete reference manual and introductory tut

librosa 5.6k Jan 6, 2023
Python Audio Analysis Library: Feature Extraction, Classification, Segmentation and Applications

A Python library for audio feature extraction, classification, segmentation and applications This doc contains general info. Click here for the comple

Theodoros Giannakopoulos 5.1k Jan 2, 2023
Python library for handling audio datasets.

AUDIOMATE Audiomate is a library for easy access to audio datasets. It provides the datastructures for accessing/loading different datasets in a gener

Matthias 121 Nov 27, 2022
A Python library for audio data augmentation. Inspired by albumentations. Useful for machine learning.

Audiomentations A Python library for audio data augmentation. Inspired by albumentations. Useful for deep learning. Runs on CPU. Supports mono audio a

Iver Jordal 1.2k Jan 7, 2023
Python Audio Analysis Library: Feature Extraction, Classification, Segmentation and Applications

A Python library for audio feature extraction, classification, segmentation and applications This doc contains general info. Click here for the comple

Theodoros Giannakopoulos 3.8k Feb 17, 2021
C++ library for audio and music analysis, description and synthesis, including Python bindings

Essentia Essentia is an open-source C++ library for audio analysis and audio-based music information retrieval released under the Affero GPL license.

Music Technology Group - Universitat Pompeu Fabra 2.3k Jan 3, 2023
Python audio and music signal processing library

madmom Madmom is an audio signal processing library written in Python with a strong focus on music information retrieval (MIR) tasks. The library is i

Institute of Computational Perception 1k Dec 26, 2022
Audio library for modelling loudness

Loudness Loudness is a C++ library with Python bindings for modelling perceived loudness. The library consists of processing modules which can be casc

Dominic Ward 33 Oct 2, 2022
a library for audio and music analysis

aubio aubio is a library to label music and sounds. It listens to audio signals and attempts to detect events. For instance, when a drum is hit, at wh

aubio 2.9k Dec 30, 2022
LibXtract is a simple, portable, lightweight library of audio feature extraction functions.

LibXtract LibXtract is a simple, portable, lightweight library of audio feature extraction functions. The purpose of the library is to provide a relat

Jamie Bullock 215 Nov 16, 2022
A library for augmenting annotated audio data

muda A library for Musical Data Augmentation. muda package implements annotation-aware musical data augmentation, as described in the muda paper. The

Brian McFee 214 Nov 22, 2022
Audio fingerprinting and recognition in Python

dejavu Audio fingerprinting and recognition algorithm implemented in Python, see the explanation here: How it works Dejavu can memorize audio by liste

Will Drevo 6k Jan 6, 2023
Scalable audio processing framework written in Python with a RESTful API

TimeSide : scalable audio processing framework and server written in Python TimeSide is a python framework enabling low and high level audio analysis,

Parisson 340 Jan 4, 2023