π π A Python library for audio.
C audioaudio-processingaudio-productionaudio-researchaudio-unitaugmentationjucemachine-learningpybind11pythonvst3vst3-host
Try building on macOS 12. (#125)
Peter Sobotecda8233cfe7
diff --git a/.github/workflows/all.yml b/.github/workflows/all.ymlindex 1f24f5b..ca0040a 100644--- a/.github/workflows/all.yml+++ b/.github/workflows/all.yml@@ -61,7 +61,7 @@ jobs:matrix:python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']# TODO: Switch back to macos-latest once https://github.com/actions/python-versions/pull/114 is fixed- os: [ubuntu-18.04, ubuntu-latest, windows-latest, macos-10.15]+ os: [ubuntu-18.04, ubuntu-latest, windows-latest, macos-12]name: Test with Python ${{ matrix.python-version }} on ${{ matrix.os }}steps:- name: Set up Python ${{ matrix.python-version }}@@ -180,29 +180,28 @@ jobs:strategy:matrix:include:- - { os: macos-10.15, build: cp36-macosx_x86_64 }- - { os: macos-10.15, build: cp37-macosx_x86_64 }- - { os: macos-10.15, build: cp38-macosx_x86_64 }- - { os: macos-10.15, build: cp39-macosx_x86_64 }- - { os: macos-10.15, build: cp310-macosx_x86_64 }- # - { os: macos-10.15, build: cp311-macosx_x86_64 }- - { os: macos-10.15, build: cp38-macosx_universal2 }- - { os: macos-10.15, build: cp39-macosx_universal2 }- - { os: macos-10.15, build: cp310-macosx_universal2 }- # - { os: macos-10.15, build: cp311-macosx_universal2 }- - { os: macos-10.15, build: cp38-macosx_arm64 }- - { os: macos-10.15, build: cp39-macosx_arm64 }- - { os: macos-10.15, build: cp310-macosx_arm64 }- # - { os: macos-10.15, build: cp311-macosx_arm64 }- - { os: macos-10.15, build: pp37-macosx_x86_64 }- - { os: macos-10.15, build: pp38-macosx_x86_64 }- - { os: macos-10.15, build: pp39-macosx_x86_64 }+ - { os: macos-12, build: cp36-macosx_x86_64 }+ - { os: macos-12, build: cp37-macosx_x86_64 }+ - { os: macos-12, build: cp38-macosx_x86_64 }+ - { os: macos-12, build: cp39-macosx_x86_64 }+ - { os: macos-12, build: cp310-macosx_x86_64 }+ # - { os: macos-12, build: cp311-macosx_x86_64 }+ - { os: macos-12, build: cp38-macosx_universal2 }+ - { os: macos-12, build: cp39-macosx_universal2 }+ - { os: macos-12, build: cp310-macosx_universal2 }+ # - { os: macos-12, build: cp311-macosx_universal2 }+ - { os: macos-12, build: cp38-macosx_arm64 }+ - { os: macos-12, build: cp39-macosx_arm64 }+ - { os: macos-12, build: cp310-macosx_arm64 }+ # - { os: macos-12, build: cp311-macosx_arm64 }+ - { os: macos-12, build: pp37-macosx_x86_64 }+ - { os: macos-12, build: pp38-macosx_x86_64 }+ - { os: macos-12, build: pp39-macosx_x86_64 }- { os: windows-latest, build: cp36-win_amd64 }- { os: windows-latest, build: cp37-win_amd64 }- { os: windows-latest, build: cp38-win_amd64 }- { os: windows-latest, build: cp39-win_amd64 }- { os: windows-latest, build: cp310-win_amd64 }- - { os: windows-latest, build: cp311-win_amd64 }- { os: windows-latest, build: pp37-win_amd64 }- { os: windows-latest, build: pp38-win_amd64 }- { os: windows-latest, build: pp39-win_amd64 }@@ -257,6 +256,8 @@ jobs:# Also testing any pypy versions fails, as TensorFlow isn't pypy compatible.CIBW_TEST_SKIP: "*manylinux* *pp* *-macosx_universal2:arm64"CIBW_PRERELEASE_PYTHONS: true+ # Use the minimum macOS deployment target that has C++17 support:+ MACOSX_DEPLOYMENT_TARGET: "10.13"- uses: actions/upload-artifact@v2with:# TODO(psobot): Don't upload wheels for prerelease Python versions: 3.11diff --git a/docs/compatibility.html b/docs/compatibility.htmlindex 4193409..8d95c0a 100644--- a/docs/compatibility.html+++ b/docs/compatibility.html@@ -266,7 +266,7 @@ reverb tails or other internal state has time to fade to silence</p></li><div class="bottom-of-page"><div class="left-details"><div class="copyright">- Copyright © 2022, Spotify AB+ Copyright © 2021-2022, Spotify AB</div>Made with <a href="https://www.sphinx-doc.org/">Sphinx</a> and <a class="muted-link" href="https://pradyunsg.me">@pradyunsg</a>'sdiff --git a/docs/examples.html b/docs/examples.htmlindex a1d5bff..14a4d03 100644--- a/docs/examples.html+++ b/docs/examples.html@@ -384,7 +384,7 @@ as much as you like:</p><div class="bottom-of-page"><div class="left-details"><div class="copyright">- Copyright © 2022, Spotify AB+ Copyright © 2021-2022, Spotify AB</div>Made with <a href="https://www.sphinx-doc.org/">Sphinx</a> and <a class="muted-link" href="https://pradyunsg.me">@pradyunsg</a>'sdiff --git a/docs/faq.html b/docs/faq.htmlindex f48912c..c2ed52c 100644--- a/docs/faq.html+++ b/docs/faq.html@@ -311,7 +311,7 @@ vary the parameters of a plugin over time manually:</p><div class="bottom-of-page"><div class="left-details"><div class="copyright">- Copyright © 2022, Spotify AB+ Copyright © 2021-2022, Spotify AB</div>Made with <a href="https://www.sphinx-doc.org/">Sphinx</a> and <a class="muted-link" href="https://pradyunsg.me">@pradyunsg</a>'sdiff --git a/docs/genindex.html b/docs/genindex.htmlindex 72928ca..7c0bd58 100644--- a/docs/genindex.html+++ b/docs/genindex.html@@ -359,6 +359,8 @@<h2>I</h2><table style="width: 100%" class="indextable genindextable"><tr><td style="width: 33%; vertical-align: top;"><ul>+ <li><a href="reference/pedalboard.html#pedalboard.IIRFilter">IIRFilter (class in pedalboard)</a>+</li><li><a href="reference/pedalboard.html#pedalboard.Chain.insert">insert() (pedalboard.Chain method)</a><ul>@@ -510,6 +512,8 @@<li><a href="reference/pedalboard.html#pedalboard.HighpassFilter.process">(pedalboard.HighpassFilter method)</a></li><li><a href="reference/pedalboard.html#pedalboard.HighShelfFilter.process">(pedalboard.HighShelfFilter method)</a>+</li>+ <li><a href="reference/pedalboard.html#pedalboard.IIRFilter.process">(pedalboard.IIRFilter method)</a></li><li><a href="reference/pedalboard.html#pedalboard.Invert.process">(pedalboard.Invert method)</a></li>@@ -612,6 +616,8 @@<li><a href="reference/pedalboard.html#pedalboard.HighpassFilter.reset">(pedalboard.HighpassFilter method)</a></li><li><a href="reference/pedalboard.html#pedalboard.HighShelfFilter.reset">(pedalboard.HighShelfFilter method)</a>+</li>+ <li><a href="reference/pedalboard.html#pedalboard.IIRFilter.reset">(pedalboard.IIRFilter method)</a></li><li><a href="reference/pedalboard.html#pedalboard.Invert.reset">(pedalboard.Invert method)</a></li>@@ -744,7 +750,7 @@<div class="bottom-of-page"><div class="left-details"><div class="copyright">- Copyright © 2022, Spotify AB+ Copyright © 2021-2022, Spotify AB</div>Made with <a href="https://www.sphinx-doc.org/">Sphinx</a> and <a class="muted-link" href="https://pradyunsg.me">@pradyunsg</a>'sdiff --git a/docs/index.html b/docs/index.htmlindex 4f31ac2..474a546 100644--- a/docs/index.html+++ b/docs/index.html@@ -365,7 +365,7 @@<div class="bottom-of-page"><div class="left-details"><div class="copyright">- Copyright © 2022, Spotify AB+ Copyright © 2021-2022, Spotify AB</div>Made with <a href="https://www.sphinx-doc.org/">Sphinx</a> and <a class="muted-link" href="https://pradyunsg.me">@pradyunsg</a>'sdiff --git a/docs/internals.html b/docs/internals.htmlindex 16ef49e..f2af4f8 100644--- a/docs/internals.html+++ b/docs/internals.html@@ -284,7 +284,7 @@ Pedalboard are to:</p><div class="bottom-of-page"><div class="left-details"><div class="copyright">- Copyright © 2022, Spotify AB+ Copyright © 2021-2022, Spotify AB</div>Made with <a href="https://www.sphinx-doc.org/">Sphinx</a> and <a class="muted-link" href="https://pradyunsg.me">@pradyunsg</a>'sdiff --git a/docs/license.html b/docs/license.htmlindex 3ae251d..36d093d 100644--- a/docs/license.html+++ b/docs/license.html@@ -251,7 +251,7 @@<div class="bottom-of-page"><div class="left-details"><div class="copyright">- Copyright © 2022, Spotify AB+ Copyright © 2021-2022, Spotify AB</div>Made with <a href="https://www.sphinx-doc.org/">Sphinx</a> and <a class="muted-link" href="https://pradyunsg.me">@pradyunsg</a>'sdiff --git a/docs/objects.inv b/docs/objects.invindex 3576fdf..b2f9fba 100644Binary files a/docs/objects.inv and b/docs/objects.inv differdiff --git a/docs/py-modindex.html b/docs/py-modindex.htmlindex 90b88fc..1840c9e 100644--- a/docs/py-modindex.html+++ b/docs/py-modindex.html@@ -238,7 +238,7 @@<div class="bottom-of-page"><div class="left-details"><div class="copyright">- Copyright © 2022, Spotify AB+ Copyright © 2021-2022, Spotify AB</div>Made with <a href="https://www.sphinx-doc.org/">Sphinx</a> and <a class="muted-link" href="https://pradyunsg.me">@pradyunsg</a>'sdiff --git a/docs/reference/pedalboard.html b/docs/reference/pedalboard.htmlindex cb92800..5443c39 100644--- a/docs/reference/pedalboard.html+++ b/docs/reference/pedalboard.html@@ -680,6 +680,40 @@ or buffer, set <code class="docutils literal notranslate"><span class="pre">rese</dd></dl>+<dl class="py class">+<dt class="sig sig-object py" id="pedalboard.IIRFilter">+<em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">pedalboard.</span></span><span class="sig-name descname"><span class="pre">IIRFilter</span></span><a class="headerlink" href="#pedalboard.IIRFilter" title="Permalink to this definition">#</a></dt>+<dd><p>An abstract class that implements various kinds of infinite impulse response (IIR) filter designs. This should not be used directly; use <a class="reference internal" href="#pedalboard.HighShelfFilter" title="pedalboard.HighShelfFilter"><code class="xref py py-class docutils literal notranslate"><span class="pre">HighShelfFilter</span></code></a>, <a class="reference internal" href="#pedalboard.LowShelfFilter" title="pedalboard.LowShelfFilter"><code class="xref py py-class docutils literal notranslate"><span class="pre">LowShelfFilter</span></code></a>, or <a class="reference internal" href="#pedalboard.PeakFilter" title="pedalboard.PeakFilter"><code class="xref py py-class docutils literal notranslate"><span class="pre">PeakFilter</span></code></a> directly instead.</p>+<dl class="py method">+<dt class="sig sig-object py" id="pedalboard.IIRFilter.process">+<span class="sig-name descname"><span class="pre">process</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">input_array</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">numpy.ndarray</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">sample_rate</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">float</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">buffer_size</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">int</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">8192</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">reset</span></span><span class="p"><span class="pre">:</span></span><span class="w"> </span><span class="n"><span class="pre">bool</span></span><span class="w"> </span><span class="o"><span class="pre">=</span></span><span class="w"> </span><span class="default_value"><span class="pre">True</span></span></em><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">numpy.ndarray</span><span class="p"><span class="pre">[</span></span><span class="pre">Any</span><span class="p"><span class="pre">,</span></span><span class="w"> </span><span class="pre">numpy.dtype</span><span class="p"><span class="pre">[</span></span><span class="pre">numpy.float32</span><span class="p"><span class="pre">]</span></span><span class="p"><span class="pre">]</span></span></span></span><a class="headerlink" href="#pedalboard.IIRFilter.process" title="Permalink to this definition">#</a></dt>+<dd><p>Run a 32-bit or 64-bit floating point audio buffer through this plugin.+(If calling this multiple times with multiple plugins, consider creating a+<a class="reference internal" href="#pedalboard.Pedalboard" title="pedalboard.Pedalboard"><code class="xref py py-class docutils literal notranslate"><span class="pre">pedalboard.Pedalboard</span></code></a> object instead.)</p>+<p>The returned array may contain up to (but not more than) the same number of+samples as were provided. If fewer samples were returned than expected, the+plugin has likely buffered audio inside itself. To receive the remaining+audio, pass another audio buffer into <code class="docutils literal notranslate"><span class="pre">process</span></code> with <code class="docutils literal notranslate"><span class="pre">reset</span></code> set to+<code class="docutils literal notranslate"><span class="pre">True</span></code>.</p>+<p>If the provided buffer uses a 64-bit datatype, it will be converted to 32-bit+for processing.</p>+<p>The provided <code class="docutils literal notranslate"><span class="pre">buffer_size</span></code> argument will be used to control the size of+each chunk of audio provided to the plugin. Higher buffer sizes may speed up+processing at the expense of memory usage.</p>+<p>The <code class="docutils literal notranslate"><span class="pre">reset</span></code> flag determines if all of the plugins should be reset before+processing begins, clearing any state from previous calls to <code class="docutils literal notranslate"><span class="pre">process</span></code>.+If calling <code class="docutils literal notranslate"><span class="pre">process</span></code> multiple times while processing the same audio file+or buffer, set <code class="docutils literal notranslate"><span class="pre">reset</span></code> to <code class="docutils literal notranslate"><span class="pre">False</span></code>.</p>+</dd></dl>++<dl class="py method">+<dt class="sig sig-object py" id="pedalboard.IIRFilter.reset">+<span class="sig-name descname"><span class="pre">reset</span></span><span class="sig-paren">(</span><span class="sig-paren">)</span> <span class="sig-return"><span class="sig-return-icon">→</span> <span class="sig-return-typehint"><span class="pre">None</span></span></span><a class="headerlink" href="#pedalboard.IIRFilter.reset" title="Permalink to this definition">#</a></dt>+<dd><p>Clear any internal state stored by this plugin (e.g.: reverb tails, delay lines, LFO state, etc). The values of plugin parameters will remain unchanged.</p>+</dd></dl>++</dd></dl>+<dl class="py class"><dt class="sig sig-object py" id="pedalboard.Invert"><em class="property"><span class="pre">class</span><span class="w"> </span></em><span class="sig-prename descclassname"><span class="pre">pedalboard.</span></span><span class="sig-name descname"><span class="pre">Invert</span></span><a class="headerlink" href="#pedalboard.Invert" title="Permalink to this definition">#</a></dt>@@ -1474,7 +1508,7 @@ but no <code class="docutils literal notranslate"><span class="pre">plugin_name<<div class="bottom-of-page"><div class="left-details"><div class="copyright">- Copyright © 2022, Spotify AB+ Copyright © 2021-2022, Spotify AB</div>Made with <a href="https://www.sphinx-doc.org/">Sphinx</a> and <a class="muted-link" href="https://pradyunsg.me">@pradyunsg</a>'sdiff --git a/docs/reference/pedalboard.io.html b/docs/reference/pedalboard.io.htmlindex 7067732..ac878c6 100644--- a/docs/reference/pedalboard.io.html+++ b/docs/reference/pedalboard.io.html@@ -542,7 +542,7 @@ second argument.</p><div class="bottom-of-page"><div class="left-details"><div class="copyright">- Copyright © 2022, Spotify AB+ Copyright © 2021-2022, Spotify AB</div>Made with <a href="https://www.sphinx-doc.org/">Sphinx</a> and <a class="muted-link" href="https://pradyunsg.me">@pradyunsg</a>'sdiff --git a/docs/search.html b/docs/search.htmlindex 89e9e5b..573af6e 100644--- a/docs/search.html+++ b/docs/search.html@@ -222,7 +222,7 @@<div class="bottom-of-page"><div class="left-details"><div class="copyright">- Copyright © 2022, Spotify AB+ Copyright © 2021-2022, Spotify AB</div>Made with <a href="https://www.sphinx-doc.org/">Sphinx</a> and <a class="muted-link" href="https://pradyunsg.me">@pradyunsg</a>'sdiff --git a/docs/searchindex.js b/docs/searchindex.jsindex 22ca19d..4454b46 100644--- a/docs/searchindex.js+++ b/docs/searchindex.js@@ -1 +1 @@-Search.setIndex({docnames:["compatibility","examples","faq","index","internals","license","reference/pedalboard","reference/pedalboard.io"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":4,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":3,"sphinx.domains.rst":2,"sphinx.domains.std":2,sphinx:56},filenames:["compatibility.rst","examples.rst","faq.rst","index.rst","internals.rst","license.rst","reference/pedalboard.rst","reference/pedalboard.io.rst"],objects:{"":[[6,0,0,"-","pedalboard"]],"pedalboard.AudioUnitPlugin":[[6,2,1,"","get_plugin_names_for_file"],[6,3,1,"","name"],[6,2,1,"","process"],[6,2,1,"","reset"],[6,2,1,"","show_editor"]],"pedalboard.Bitcrush":[[6,3,1,"","bit_depth"],[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.Chain":[[6,2,1,"","append"],[6,2,1,"","insert"],[6,2,1,"","process"],[6,2,1,"","remove"],[6,2,1,"","reset"]],"pedalboard.Chorus":[[6,2,1,"","process"],[6,3,1,"","rate_hz"],[6,2,1,"","reset"]],"pedalboard.Compressor":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.Convolution":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.Delay":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.Distortion":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.GSMFullRateCompressor":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.Gain":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.HighShelfFilter":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.HighpassFilter":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.Invert":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.LadderFilter":[[6,1,1,"","Mode"],[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.LadderFilter.Mode":[[6,4,1,"","BPF12"],[6,4,1,"","BPF24"],[6,4,1,"","HPF12"],[6,4,1,"","HPF24"],[6,4,1,"","LPF12"],[6,4,1,"","LPF24"]],"pedalboard.Limiter":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.LowShelfFilter":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.LowpassFilter":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.MP3Compressor":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.Mix":[[6,2,1,"","append"],[6,2,1,"","insert"],[6,2,1,"","process"],[6,2,1,"","remove"],[6,2,1,"","reset"]],"pedalboard.NoiseGate":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.PeakFilter":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.Pedalboard":[[6,2,1,"","append"],[6,2,1,"","insert"],[6,2,1,"","process"],[6,2,1,"","remove"],[6,2,1,"","reset"]],"pedalboard.Phaser":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.PitchShift":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.Plugin":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.PluginContainer":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.Resample":[[6,1,1,"","Quality"],[6,2,1,"","process"],[6,3,1,"","quality"],[6,2,1,"","reset"],[6,3,1,"","target_sample_rate"]],"pedalboard.Resample.Quality":[[6,4,1,"","CatmullRom"],[6,4,1,"","Lagrange"],[6,4,1,"","Linear"],[6,4,1,"","WindowedSinc"],[6,4,1,"","ZeroOrderHold"]],"pedalboard.Reverb":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.VST3Plugin":[[6,2,1,"","get_plugin_names_for_file"],[6,2,1,"","load_preset"],[6,3,1,"","name"],[6,2,1,"","process"],[6,2,1,"","reset"],[6,2,1,"","show_editor"]],"pedalboard.io":[[7,1,1,"","AudioFile"],[7,1,1,"","ReadableAudioFile"],[7,1,1,"","WriteableAudioFile"]],"pedalboard.io.ReadableAudioFile":[[7,2,1,"","close"],[7,3,1,"","closed"],[7,3,1,"","duration"],[7,3,1,"","file_dtype"],[7,3,1,"","frames"],[7,3,1,"","name"],[7,3,1,"","num_channels"],[7,2,1,"","read"],[7,2,1,"","read_raw"],[7,3,1,"","samplerate"],[7,2,1,"","seek"],[7,2,1,"","seekable"],[7,2,1,"","tell"]],"pedalboard.io.WriteableAudioFile":[[7,2,1,"","close"],[7,3,1,"","closed"],[7,3,1,"","file_dtype"],[7,2,1,"","flush"],[7,3,1,"","frames"],[7,3,1,"","num_channels"],[7,3,1,"","quality"],[7,3,1,"","samplerate"],[7,2,1,"","write"]],pedalboard:[[6,1,1,"","AudioUnitPlugin"],[6,1,1,"","Bitcrush"],[6,1,1,"","Chain"],[6,1,1,"","Chorus"],[6,1,1,"","Compressor"],[6,1,1,"","Convolution"],[6,1,1,"","Delay"],[6,1,1,"","Distortion"],[6,1,1,"","GSMFullRateCompressor"],[6,1,1,"","Gain"],[6,1,1,"","HighShelfFilter"],[6,1,1,"","HighpassFilter"],[6,1,1,"","Invert"],[6,1,1,"","LadderFilter"],[6,1,1,"","Limiter"],[6,1,1,"","LowShelfFilter"],[6,1,1,"","LowpassFilter"],[6,1,1,"","MP3Compressor"],[6,1,1,"","Mix"],[6,1,1,"","NoiseGate"],[6,1,1,"","PeakFilter"],[6,1,1,"","Pedalboard"],[6,1,1,"","Phaser"],[6,1,1,"","PitchShift"],[6,1,1,"","Plugin"],[6,1,1,"","PluginContainer"],[6,1,1,"","Resample"],[6,1,1,"","Reverb"],[6,1,1,"","VST3Plugin"],[7,0,0,"-","io"],[6,5,1,"","load_plugin"]]},objnames:{"0":["py","module","Python module"],"1":["py","class","Python class"],"2":["py","method","Python method"],"3":["py","property","Python property"],"4":["py","attribute","Python attribute"],"5":["py","function","Python function"]},objtypes:{"0":"py:module","1":"py:class","2":"py:method","3":"py:property","4":"py:attribute","5":"py:function"},terms:{"0":[1,2,6,7],"000":[2,7],"0f":7,"1":[1,2,6,7],"10":[1,3,6,7],"100":[2,6,7],"1024":7,"11":3,"12":[1,6],"128":7,"1300":6,"15":1,"16":7,"160":7,"1968":6,"1khz":[2,6],"2":[3,6,7],"200":6,"2021":5,"2022":5,"22m":2,"24":6,"25":[1,6],"256":7,"27":3,"2g":6,"2m":2,"3":[1,3,6],"30":1,"300x":3,"32":[6,7],"32khz":6,"33":6,"3db":6,"3g2":7,"3gp":7,"4":6,"40":1,"44":[2,6,7],"440":6,"441":7,"44100":7,"48khz":6,"4x":3,"5":[1,6,7],"50":[1,6],"5x":3,"6":[1,3,5,6],"64":[3,6],"6db":6,"7":[1,3,6],"7071067690849304":6,"707x":6,"8":[3,6],"8000":6,"8192":6,"8khz":6,"9":3,"900":1,"98":2,"case":[2,3,4,6],"catch":0,"class":[6,7],"default":7,"do":[0,1,7],"final":1,"float":[6,7],"function":[2,4,6,7],"import":[1,2,4],"int":[6,7],"long":7,"new":3,"public":5,"return":[6,7],"static":[4,5,6],"switch":2,"throw":[6,7],"true":[6,7],"try":[0,6],"while":[2,6,7],A:[6,7],For:[1,6,7],If:[0,3,6,7],In:2,Ins:6,It:[1,3],No:[3,6],Not:[2,4,6,7],That:3,The:[2,4,5],These:6,To:6,Will:[4,7],With:2,_:6,__new__:[],_audiounitplugin:6,_n_:2,_vst3plugin:6,aac:[3,7],aarch64:3,ab:5,abil:0,about:2,abov:6,ac3:[3,7],accept:[3,6,7],access:2,ad:[3,6],add:[1,2,3,4,6],addit:[3,4,7],adt:7,advanc:7,af:2,affect:6,after:6,aif:7,aifc:7,aiff:[3,7],ak391:1,algorithm:[6,7],alias:6,all:[1,2,3,4,6,7],allow:[0,2,3,6,7],also:[2,3,4,6,7],although:[2,6,7],alwai:7,amd64:3,amd:3,amount:[4,6],amplifi:6,amr:7,an:[0,1,2,4,6,7],ani:[0,2,4,6,7],anoth:6,api:[3,4],append:[1,6,7],appl:[3,6],appli:6,applic:[2,4],appropri:[4,6],ar:[0,1,2,3,4,5,6,7],architectur:6,aren:2,arg0:6,arg:6,argument:[6,7],arm:3,around:[0,4,6],arrai:[6,7],artifact:[2,6],ask:[0,3],associ:4,assum:7,attack:6,attack_m:[1,6],attempt:[0,7],attenu:6,au:[2,7],audibl:6,audio:[0,3,4,5,6,7],audiofil:[1,2,7],audiounitplugin:6,augment:3,autom:2,automat:[0,3,7],avail:[3,4,6],avoid:[2,7],b:7,back:[1,6],band:[5,6],bar:2,base:[6,7],basic:[3,6],been:[0,7],befor:6,begin:6,behav:[0,1],being:0,below:6,best:7,better:6,between:[0,2,6],big:2,binari:[4,7],binaryio:7,bind:4,bit:[6,7],bit_depth:[6,7],bitcrush:[3,6],block:[2,6],board:[1,2],bob:6,bool:[6,7],boost:6,both:[3,6],box:3,bpf12:6,bpf24:6,buffer:[2,6,7],buffer_s:6,build:6,built:[2,3],bundl:[5,6],bwf:7,bypass:1,bytesio:7,c:[2,4],caf:7,call:[0,6,7],can:[0,1,3,4,6,7],cancel:6,cannam:6,cannot:[4,6],carri:5,catmullrom:6,caus:[2,6],caveat:2,ccrma:6,cellular:6,centr:6,centre_delay_m:6,centre_frequency_hz:6,certain:7,chain:[3,6],chang:[1,3,6],channel:7,choru:[1,3,6],chri:6,chunk:[2,6,7],classic:6,clean:2,clear:[0,6],click:2,clipper:6,close:[6,7],code:[0,2,4,5],codec:[6,7],colab:1,collect:2,commerci:5,common:[0,3],compat:[4,5,6],compil:[4,5],complex:4,complic:4,compon:6,compress:[3,6,7],compressor:[1,2,3,6],conform:0,connect:6,consid:[4,6,7],consider:3,constraint:4,constructor:7,contain:[0,1,2,6,7],content:[3,7],context:2,control:6,convent:0,convert:[6,7],convolut:[1,3,6],copi:4,copyright:5,core:[3,5],could:[0,2,6],coupl:2,cpu:3,crash:[0,7],creat:[2,3,6,7],creation:3,cross:[4,6],current:[6,7],cut:[2,6],cutoff:6,cutoff_frequency_hz:6,cutoff_hz:[1,6],d:7,damp:6,data:[2,3,7],datatyp:[6,7],db:6,db_to_gain:6,debug:7,decept:7,decibel:6,decim:6,decompress:7,decreas:[6,7],def:6,degrad:6,delai:[1,2,3,6],delay_and_pitch_shift:1,delay_longer_and_more_pitch_shift:1,delay_second:[1,6],demo:1,depend:[3,4,6,7],depth:[6,7],design:3,detect:0,determin:6,develop:4,dict:6,dict_kei:1,dictionari:6,differ:[6,7],difficult:2,digit:[3,4,6],dimension:7,direct:6,directli:[2,7],disk:[1,7],distort:[1,3,6],distribut:4,divid:7,doe:[3,4,7],don:[0,1,7],down:2,downsampl:6,dr:6,dramat:2,drive:6,drive_db:6,drop:2,dry:6,dry_level:6,dsp:4,dtype:[6,7],dual:5,durat:[6,7],dynam:[3,6],e:[2,6,7],each:[6,7],easili:1,ec3:7,edu:6,effect:[3,4,6,7],either:2,emul:6,enabl:3,encod:[6,7],enough:2,ensur:[0,2,4],environ:4,equal:[2,3,6],equival:6,error:0,etc:[6,7],even:[0,3],everi:[0,4],exampl:[2,3,4,6,7],except:[6,7],exist:7,expand:6,expect:[6,7],expens:[2,6],experiment:[2,3],expos:4,express:6,extens:7,externalplugin:6,f:[1,7],face:1,factor:6,fade:0,fals:[2,6,7],far:7,fashion:[0,2],fast:6,faster:3,fastest:[6,7],featur:6,feeback:6,feedback:6,fewer:[4,6],fi:6,file:[1,2,3,4,6,7],file_dtyp:7,file_lik:7,filenam:[6,7],filename_or_file_lik:7,filter:[3,6],fine:[0,2],first:6,first_ten_second:7,fix:6,flac:[3,7],flag:6,flanger:6,flip:6,float32:[6,7],float64:[6,7],flush:7,folder:1,follow:[3,4,5],forc:7,format:[3,6,7],found:6,four:7,frac:6,frame:[1,2,7],framework:2,freeverb:6,freeze_mod:6,frequenc:6,frequent:3,from:[0,1,2,3,5,6,7],front:1,full:6,full_bandwidth:1,further:[6,7],futur:7,g:6,gain:[1,3,6],gain_db:[1,6],garbag:2,gate:6,gener:[5,6],get:6,get_audio_buff:7,get_plugin_names_for_fil:6,get_supported_read_format:7,get_supported_write_format:7,getvalu:7,gigabyt:7,gil:3,git:4,github:3,give:[2,6],given:[6,7],glibc:3,global:[2,3],gmbh:[5,6],gnu:5,goal:4,good:6,gplv2:5,gplv3:[4,5],gradio:1,gsm:6,gsmcompressor:6,gsmfullratecompressor:[3,5,6],guarante:3,guid:3,guitar:3,guitar_amp:1,guitarboard:2,ha:[0,6,7],hand:7,happen:7,hard:[6,7],harmon:6,have:[0,2,4,6,7],hear:2,heavili:3,help:3,hertz:6,hide:4,high:[2,6],higher:6,highest:6,highpassfilt:[3,6],highshelffilt:6,horizont:6,hour:7,how:[0,6],howev:[2,6],hpf12:[1,6],hpf24:6,html:6,http:6,hug:1,hyperbol:6,hz:[6,7],i:[2,3,6,7],icorv:3,ident:6,identifi:6,idiomat:4,iff:7,implement:4,importerror:6,improv:3,impulse_response_filenam:6,includ:[0,2,3,4,5],inclus:5,incorrectli:0,increas:[4,6,7],increment:7,index:6,indic:[6,7],initi:6,input:[1,2,6,7],input_arrai:6,input_lvl_db:1,insert:6,insid:6,instal:[4,6,7],instanc:[1,4,6],instead:[3,6,7],instrument:3,int16:7,int32:7,int8:7,integ:6,intel:3,intellig:3,intend:6,interact:1,interest:1,interfac:[2,4],intern:[0,3,6],interpret:[0,2,3],interv:2,introduc:[6,7],intuit:4,invent:6,invert:6,io:[1,2,3,6],isc:5,issu:[0,2,4],its:[6,7],itself:[2,4,6],jo:6,juce:[2,4,5],just:[0,1,2,4,7],kbp:7,kei:[1,6],keyboardinterrupt:6,kilobit:7,known:1,kwarg:6,lab:3,ladder:6,ladderfilt:[1,3,6],lagrang:6,lame:[5,6,7],languag:2,larg:[2,7],latm:7,leak:0,learn:[3,4],length:7,less:6,level:7,lfo:6,lgplv2:5,libgsm:5,libmp3lam:5,librari:[2,3,4,5,6,7],librosa:3,licens:[3,4],like:[1,6,7],limit:[1,3,6],line:[6,7],linear:6,link:4,linux:[3,4,6,7],list:[1,6],liter:7,live:3,lo:6,loa:7,load:[0,1,3,4,6],load_plugin:[0,1,3,4,6],load_preset:6,loadabl:6,locat:7,lock:[2,3],logic:4,longer:7,lossi:[3,6],lot:6,loud:[3,6],low:6,lower:6,lowest:6,lowpassfilt:[3,6],lowshelffilt:6,lpf12:6,lpf24:6,m4a:7,m4b:7,m4r:7,machin:[3,4],maco:[3,4,6,7],magnitud:6,mai:[0,4,6,7],make:[2,3],makeup_db:1,mani:[0,3,6,7],manipul:[],manual:[2,3],manylinux:3,match:[6,7],mathemat:6,maximum:7,md:3,mean:2,meant:4,media:5,megabyt:7,memori:[2,3,6,7],mere:6,method:[6,7],midi:3,might:4,minimum:7,misbehav:0,mix:[1,6],mode:[1,6,7],model:[3,6],moder:6,modern:3,modifi:2,modul:[6,7],moog:6,more:[1,3,4,6,7],most:[0,2,3,4,6,7],mov:7,mp1:7,mp2:7,mp3:[3,6,7],mp3compressor:[3,5,6],mp4:7,mpa:7,mpeg:7,ms:6,much:[1,6],multi:[6,7],multipl:[1,2,3,6,7],multiprocess:3,music:4,must:[6,7],mutat:2,my_fil:7,name:[6,7],nativ:[6,7],ndarrai:[6,7],nearli:7,need:[3,4],nest:1,network:2,newer:5,next:0,nois:6,noiseg:6,noisi:6,non:6,none:[6,7],normal:6,notabl:4,notch:6,note:[2,6,7],notebook:1,notic:0,np:7,num_channel:[2,7],num_fram:7,number:[2,3,5,6,7],numer:7,numpi:[6,7],o:[2,3,6,7],object:[1,2,6,7],occur:7,octav:6,off:[2,6],offlin:2,ogg:[3,7],ogg_buff:7,onc:7,one:[0,3,6,7],onli:[3,6,7],onto:6,open:[2,4,7],oper:[2,6,7],option:[4,6,7],order:6,origin:6,oscil:6,other:[0,1,3,6,7],otherwis:7,our:2,out:[2,3,6,7],output:[1,2,6,7],output_lvl_db:1,over:3,overload:6,own:[5,6],packag:[4,6,7],parallel:[3,6],paramet:[1,3,6,7],parameter_valu:6,parti:[3,6],pasp:6,pass:[0,2,6,7],passthrough:1,path:[1,6,7],path_to_plugin_fil:6,paus:2,pbar:2,peak:6,peakfilt:6,pedalboard:[0,3,5],pedalboard_n:6,per:[6,7],percentag:[2,6],percentage_through_track:2,perform:4,permit:5,phaser:[1,3,6],phone:6,pip:3,pipelin:3,pitch:[1,3,6],pitchshift:[1,3,5,6],platform:[3,4,6,7],pleas:6,plug:6,plugin:[3,5,6],plugin_nam:6,plugincontain:6,point:6,pointer:7,polar:6,pop:2,popular:3,portabl:4,posit:7,possibl:[2,3,7],potenti:2,present:6,preset:6,preset_file_path:6,pretti:1,prevent:2,previou:6,print:1,prioriti:2,probabl:7,problem:7,process:[0,1,2,3,4,5,6],produc:6,product:3,program:[0,1,2],programm:4,progress:2,project:[2,5],properti:[6,7],provid:[4,6,7],pull:[2,5],put:1,pybind11:4,pypi:3,pysox:3,python:[0,2,3,4,6,7],q:6,qt:7,qualiti:[3,6,7],quantiz:6,question:3,quick:3,r:[1,7],rais:[6,7],ramp:2,rand:7,random:[2,7],randomli:2,rang:[2,3,6],rare:4,rate:[2,6,7],rate_hz:6,rather:7,ratio:[1,6],raw:[4,7],re:7,read:[1,2,3,6,7],read_raw:7,readabl:7,readableaudiofil:7,real:[3,6],reason:4,receiv:[2,6],reduc:6,reduct:[3,6],redund:7,regardless:7,regist:5,regular:[2,7],rel:3,releas:[3,6],release_m:[1,6],reliabl:7,reload:0,remain:6,remov:[4,6],render:[0,7],repo:3,report:6,repositori:[1,4],repres:6,request:2,requir:[2,3,4,6,7],resampl:[3,6],reset:[2,6],resolut:6,reson:6,resourc:4,respons:6,result:2,reverb:[0,1,2,3,6],robust:3,roll:6,room_siz:[1,6],roughli:6,roughrider3:1,rubber:[5,6],run:[1,6],runtim:4,runtimeerror:[6,7],s:[3,4,6,7],safe:4,safeti:3,same:[1,4,6,7],sampl:[2,6,7],sample_r:6,sampler:[1,2,7],save:2,sc_activ:1,sc_hpf_hz:1,scan:6,sd2:7,sdk:5,second:[2,6,7],see:[1,2,6,7],seek:7,seekabl:7,self:6,semiton:[1,6],sensitivity_db:1,separ:2,set:[0,1,2,6,7],shape:[1,2,7],shelf:6,shift:[1,6],should:[4,6,7],show:[2,4,6],show_editor:6,side:6,signal:[4,6],silenc:0,silicon:3,simpl:6,simpler:4,simplest:6,simplic:4,simul:6,simultan:1,singl:[3,6],size:[2,4,6],slightli:6,slow:[2,6],slowest:[6,7],small:2,smaller:[1,2],smallest:[],smoother:2,snd:7,so:[0,1,2,6,7],soft:2,softwar:4,some:[0,1,4,7],someth:7,somewher:2,sound:[1,6],sounddevic:2,sourc:4,sourceforg:[],soxbind:3,space:1,spatial:3,speaker:6,specif:[0,6],specifi:[6,7],speed:[2,3,4,6],spotifi:[3,5],sqrt:6,stabil:4,stage:6,standard:6,stanford:6,start:[3,7],state:[0,6],stefanobazzi:2,steinberg:[5,6],step:2,step_size_in_sampl:2,stereo:[6,7],still:6,store:[6,7],str:[6,7],stream:[2,6,7],stretch:6,string:[6,7],stringio:7,strong:3,studio:3,stutter:2,style:3,subclass:6,submodul:4,suitabl:6,support:[3,4,6,7],suppos:0,sweep:6,synthes:6,system:[2,6,7],t:[0,1,2,7],tail:[0,2,6],take:6,talk:2,tangent:6,tanh:6,target_sample_r:6,technic:2,techniqu:[2,6],technolog:5,tell:7,tensorflow:3,test:[0,3,4],tf:3,than:[3,4,6,7],them:[1,6],themselv:1,thi:[1,2,5,6,7],thing:6,think:6,third:[3,6],thoroughli:3,thread:[2,3,4],threshold:6,threshold_db:[1,6],through:[1,2,6,7],thrown:6,time:[0,3,6],too:7,total:[2,7],tqdm:2,track:2,trademark:5,trail:7,transform:3,transit:2,tune:6,two:6,type:[6,7],typeerror:7,typic:7,ui:6,unavail:6,unbound:2,unchang:6,under:5,underli:[2,7],undesir:0,union:[6,7],uniqu:6,unit:[0,2,3,4,6],unlik:7,unsupport:[6,7],until:6,unus:[2,7],up:[2,3,6],updat:2,upgrad:5,upsampl:6,us:[3,4,5,6,7],usabl:7,usag:[3,6],user:4,usual:[2,6,7],util:[3,6],v0:7,v2:7,v3:5,v9:7,valu:[6,7],vari:2,variabl:[6,7],varieti:4,variou:6,vbr:6,vbr_qualiti:6,vendor:4,veri:2,versa:4,vertic:6,via:[1,3,6],vibrato:6,vice:4,volum:6,vorbi:7,vst3:[0,3,4,5,6],vst3plugin:6,vst:[1,3,5],vstpreset:6,w64:7,w:[1,2,7],wa:[3,6,7],wai:4,want:7,warn:0,wav:[1,2,3,7],wav_buff:7,waveshap:6,we:2,web:1,well:[0,3,4,6,7],were:6,wet:[2,6],wet_level:[2,6],what:6,wheel:[3,4],when:[0,2,3,4,6],where:4,which:[0,2,5,6,7],white_nois:7,whole:1,wide:[3,6],wider:4,width:6,window:[3,4,6,7],windowedsinc:6,within:[3,4,6],without:[0,2,3,6],wma:[3,7],wonder:6,work:[0,3,6,7],workstat:3,worst:[0,7],would:[2,4,6,7],wrap:7,wrapper:[4,6],write:[1,2,3,6,7],writeabl:7,writeableaudiofil:7,writer:[],written:[2,4,7],x86:3,x86_64:3,x:6,xhe:7,ye:2,yet:2,you:[1,3,7],your:2,zero:6,zeroorderhold:6},titles:["Plugin Compatibility","Examples","Frequently Asked Questions","Features","Pedalboard Internals","License","The <code class=\"docutils literal notranslate\"><span class=\"pre\">pedalboard</span></code> API","The <code class=\"docutils literal notranslate\"><span class=\"pre\">pedalboard.io</span></code> API"],titleterms:{"new":4,The:[6,7],accept:2,ad:4,api:[6,7],ask:2,audio:[1,2],built:4,can:2,chain:1,chang:2,compat:[0,3],consider:4,creat:1,design:4,document:3,doe:2,effect:[1,2],exampl:1,featur:3,frequent:2,guitar:1,instal:3,instead:2,instrument:2,intern:4,io:7,licens:5,live:2,make:1,midi:2,over:2,parallel:1,paramet:2,pedalboard:[1,2,4,6,7],plugin:[0,1,2,4],question:2,quick:1,real:2,refer:3,s:2,start:1,style:1,support:2,time:2,unit:1,us:[1,2],vst3:1,vst:2}})\ No newline at end of file+Search.setIndex({docnames:["compatibility","examples","faq","index","internals","license","reference/pedalboard","reference/pedalboard.io"],envversion:{"sphinx.domains.c":2,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":4,"sphinx.domains.index":1,"sphinx.domains.javascript":2,"sphinx.domains.math":2,"sphinx.domains.python":3,"sphinx.domains.rst":2,"sphinx.domains.std":2,sphinx:56},filenames:["compatibility.rst","examples.rst","faq.rst","index.rst","internals.rst","license.rst","reference/pedalboard.rst","reference/pedalboard.io.rst"],objects:{"":[[6,0,0,"-","pedalboard"]],"pedalboard.AudioUnitPlugin":[[6,2,1,"","get_plugin_names_for_file"],[6,3,1,"","name"],[6,2,1,"","process"],[6,2,1,"","reset"],[6,2,1,"","show_editor"]],"pedalboard.Bitcrush":[[6,3,1,"","bit_depth"],[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.Chain":[[6,2,1,"","append"],[6,2,1,"","insert"],[6,2,1,"","process"],[6,2,1,"","remove"],[6,2,1,"","reset"]],"pedalboard.Chorus":[[6,2,1,"","process"],[6,3,1,"","rate_hz"],[6,2,1,"","reset"]],"pedalboard.Compressor":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.Convolution":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.Delay":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.Distortion":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.GSMFullRateCompressor":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.Gain":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.HighShelfFilter":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.HighpassFilter":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.IIRFilter":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.Invert":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.LadderFilter":[[6,1,1,"","Mode"],[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.LadderFilter.Mode":[[6,4,1,"","BPF12"],[6,4,1,"","BPF24"],[6,4,1,"","HPF12"],[6,4,1,"","HPF24"],[6,4,1,"","LPF12"],[6,4,1,"","LPF24"]],"pedalboard.Limiter":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.LowShelfFilter":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.LowpassFilter":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.MP3Compressor":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.Mix":[[6,2,1,"","append"],[6,2,1,"","insert"],[6,2,1,"","process"],[6,2,1,"","remove"],[6,2,1,"","reset"]],"pedalboard.NoiseGate":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.PeakFilter":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.Pedalboard":[[6,2,1,"","append"],[6,2,1,"","insert"],[6,2,1,"","process"],[6,2,1,"","remove"],[6,2,1,"","reset"]],"pedalboard.Phaser":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.PitchShift":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.Plugin":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.PluginContainer":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.Resample":[[6,1,1,"","Quality"],[6,2,1,"","process"],[6,3,1,"","quality"],[6,2,1,"","reset"],[6,3,1,"","target_sample_rate"]],"pedalboard.Resample.Quality":[[6,4,1,"","CatmullRom"],[6,4,1,"","Lagrange"],[6,4,1,"","Linear"],[6,4,1,"","WindowedSinc"],[6,4,1,"","ZeroOrderHold"]],"pedalboard.Reverb":[[6,2,1,"","process"],[6,2,1,"","reset"]],"pedalboard.VST3Plugin":[[6,2,1,"","get_plugin_names_for_file"],[6,2,1,"","load_preset"],[6,3,1,"","name"],[6,2,1,"","process"],[6,2,1,"","reset"],[6,2,1,"","show_editor"]],"pedalboard.io":[[7,1,1,"","AudioFile"],[7,1,1,"","ReadableAudioFile"],[7,1,1,"","WriteableAudioFile"]],"pedalboard.io.ReadableAudioFile":[[7,2,1,"","close"],[7,3,1,"","closed"],[7,3,1,"","duration"],[7,3,1,"","file_dtype"],[7,3,1,"","frames"],[7,3,1,"","name"],[7,3,1,"","num_channels"],[7,2,1,"","read"],[7,2,1,"","read_raw"],[7,3,1,"","samplerate"],[7,2,1,"","seek"],[7,2,1,"","seekable"],[7,2,1,"","tell"]],"pedalboard.io.WriteableAudioFile":[[7,2,1,"","close"],[7,3,1,"","closed"],[7,3,1,"","file_dtype"],[7,2,1,"","flush"],[7,3,1,"","frames"],[7,3,1,"","num_channels"],[7,3,1,"","quality"],[7,3,1,"","samplerate"],[7,2,1,"","write"]],pedalboard:[[6,1,1,"","AudioUnitPlugin"],[6,1,1,"","Bitcrush"],[6,1,1,"","Chain"],[6,1,1,"","Chorus"],[6,1,1,"","Compressor"],[6,1,1,"","Convolution"],[6,1,1,"","Delay"],[6,1,1,"","Distortion"],[6,1,1,"","GSMFullRateCompressor"],[6,1,1,"","Gain"],[6,1,1,"","HighShelfFilter"],[6,1,1,"","HighpassFilter"],[6,1,1,"","IIRFilter"],[6,1,1,"","Invert"],[6,1,1,"","LadderFilter"],[6,1,1,"","Limiter"],[6,1,1,"","LowShelfFilter"],[6,1,1,"","LowpassFilter"],[6,1,1,"","MP3Compressor"],[6,1,1,"","Mix"],[6,1,1,"","NoiseGate"],[6,1,1,"","PeakFilter"],[6,1,1,"","Pedalboard"],[6,1,1,"","Phaser"],[6,1,1,"","PitchShift"],[6,1,1,"","Plugin"],[6,1,1,"","PluginContainer"],[6,1,1,"","Resample"],[6,1,1,"","Reverb"],[6,1,1,"","VST3Plugin"],[7,0,0,"-","io"],[6,5,1,"","load_plugin"]]},objnames:{"0":["py","module","Python module"],"1":["py","class","Python class"],"2":["py","method","Python method"],"3":["py","property","Python property"],"4":["py","attribute","Python attribute"],"5":["py","function","Python function"]},objtypes:{"0":"py:module","1":"py:class","2":"py:method","3":"py:property","4":"py:attribute","5":"py:function"},terms:{"0":[1,2,6,7],"000":[2,7],"0f":7,"1":[1,2,6,7],"10":[1,3,6,7],"100":[2,6,7],"1024":7,"11":3,"12":[1,6],"128":7,"1300":6,"15":1,"16":7,"160":7,"1968":6,"1khz":[2,6],"2":[3,6,7],"200":6,"2021":5,"2022":5,"22m":2,"24":6,"25":[1,6],"256":7,"27":3,"2g":6,"2m":2,"3":[1,3,6],"30":1,"300x":3,"32":[6,7],"32khz":6,"33":6,"3db":6,"3g2":7,"3gp":7,"4":6,"40":1,"44":[2,6,7],"440":6,"441":7,"44100":7,"48khz":6,"4x":3,"5":[1,6,7],"50":[1,6],"5x":3,"6":[1,3,5,6],"64":[3,6],"6db":6,"7":[1,3,6],"7071067690849304":6,"707x":6,"8":[3,6],"8000":6,"8192":6,"8khz":6,"9":3,"900":1,"98":2,"abstract":6,"case":[2,3,4,6],"catch":0,"class":[6,7],"default":7,"do":[0,1,7],"final":1,"float":[6,7],"function":[2,4,6,7],"import":[1,2,4],"int":[6,7],"long":7,"new":3,"public":5,"return":[6,7],"static":[4,5,6],"switch":2,"throw":[6,7],"true":[6,7],"try":[0,6],"while":[2,6,7],A:[6,7],For:[1,6,7],If:[0,3,6,7],In:2,Ins:6,It:[1,3],No:[3,6],Not:[2,4,6,7],That:3,The:[2,4,5],These:6,To:6,Will:[4,7],With:2,_:6,__new__:[],_audiounitplugin:6,_n_:2,_vst3plugin:6,aac:[3,7],aarch64:3,ab:5,abil:0,about:2,abov:6,ac3:[3,7],accept:[3,6,7],access:2,ad:[3,6],add:[1,2,3,4,6],addit:[3,4,7],adt:7,advanc:7,af:2,affect:6,after:6,aif:7,aifc:7,aiff:[3,7],ak391:1,algorithm:[6,7],alias:6,all:[1,2,3,4,6,7],allow:[0,2,3,6,7],also:[2,3,4,6,7],although:[2,6,7],alwai:7,amd64:3,amd:3,amount:[4,6],amplifi:6,amr:7,an:[0,1,2,4,6,7],ani:[0,2,4,6,7],anoth:6,api:[3,4],append:[1,6,7],appl:[3,6],appli:6,applic:[2,4],appropri:[4,6],ar:[0,1,2,3,4,5,6,7],architectur:6,aren:2,arg0:6,arg:6,argument:[6,7],arm:3,around:[0,4,6],arrai:[6,7],artifact:[2,6],ask:[0,3],associ:4,assum:7,attack:6,attack_m:[1,6],attempt:[0,7],attenu:6,au:[2,7],audibl:6,audio:[0,3,4,5,6,7],audiofil:[1,2,7],audiounitplugin:6,augment:3,autom:2,automat:[0,3,7],avail:[3,4,6],avoid:[2,7],b:7,back:[1,6],band:[5,6],bar:2,base:[6,7],basic:[3,6],been:[0,7],befor:6,begin:6,behav:[0,1],being:0,below:6,best:7,better:6,between:[0,2,6],big:2,binari:[4,7],binaryio:7,bind:4,bit:[6,7],bit_depth:[6,7],bitcrush:[3,6],block:[2,6],board:[1,2],bob:6,bool:[6,7],boost:6,both:[3,6],box:3,bpf12:6,bpf24:6,buffer:[2,6,7],buffer_s:6,build:6,built:[2,3],bundl:[5,6],bwf:7,bypass:1,bytesio:7,c:[2,4],caf:7,call:[0,6,7],can:[0,1,3,4,6,7],cancel:6,cannam:6,cannot:[4,6],carri:5,catmullrom:6,caus:[2,6],caveat:2,ccrma:6,cellular:6,centr:6,centre_delay_m:6,centre_frequency_hz:6,certain:7,chain:[3,6],chang:[1,3,6],channel:7,choru:[1,3,6],chri:6,chunk:[2,6,7],classic:6,clean:2,clear:[0,6],click:2,clipper:6,close:[6,7],code:[0,2,4,5],codec:[6,7],colab:1,collect:2,commerci:5,common:[0,3],compat:[4,5,6],compil:[4,5],complex:4,complic:4,compon:6,compress:[3,6,7],compressor:[1,2,3,6],conform:0,connect:6,consid:[4,6,7],consider:3,constraint:4,constructor:7,contain:[0,1,2,6,7],content:[3,7],context:2,control:6,convent:0,convert:[6,7],convolut:[1,3,6],copi:4,copyright:5,core:[3,5],could:[0,2,6],coupl:2,cpu:3,crash:[0,7],creat:[2,3,6,7],creation:3,cross:[4,6],current:[6,7],cut:[2,6],cutoff:6,cutoff_frequency_hz:6,cutoff_hz:[1,6],d:7,damp:6,data:[2,3,7],datatyp:[6,7],db:6,db_to_gain:6,debug:7,decept:7,decibel:6,decim:6,decompress:7,decreas:[6,7],def:6,degrad:6,delai:[1,2,3,6],delay_and_pitch_shift:1,delay_longer_and_more_pitch_shift:1,delay_second:[1,6],demo:1,depend:[3,4,6,7],depth:[6,7],design:[3,6],detect:0,determin:6,develop:4,dict:6,dict_kei:1,dictionari:6,differ:[6,7],difficult:2,digit:[3,4,6],dimension:7,direct:6,directli:[2,6,7],disk:[1,7],distort:[1,3,6],distribut:4,divid:7,doe:[3,4,7],don:[0,1,7],down:2,downsampl:6,dr:6,dramat:2,drive:6,drive_db:6,drop:2,dry:6,dry_level:6,dsp:4,dtype:[6,7],dual:5,durat:[6,7],dynam:[3,6],e:[2,6,7],each:[6,7],easili:1,ec3:7,edu:6,effect:[3,4,6,7],either:2,emul:6,enabl:3,encod:[6,7],enough:2,ensur:[0,2,4],environ:4,equal:[2,3,6],equival:6,error:0,etc:[6,7],even:[0,3],everi:[0,4],exampl:[2,3,4,6,7],except:[6,7],exist:7,expand:6,expect:[6,7],expens:[2,6],experiment:[2,3],expos:4,express:6,extens:7,externalplugin:6,f:[1,7],face:1,factor:6,fade:0,fals:[2,6,7],far:7,fashion:[0,2],fast:6,faster:3,fastest:[6,7],featur:6,feeback:6,feedback:6,fewer:[4,6],fi:6,file:[1,2,3,4,6,7],file_dtyp:7,file_lik:7,filenam:[6,7],filename_or_file_lik:7,filter:[3,6],fine:[0,2],first:6,first_ten_second:7,fix:6,flac:[3,7],flag:6,flanger:6,flip:6,float32:[6,7],float64:[6,7],flush:7,folder:1,follow:[3,4,5],forc:7,format:[3,6,7],found:6,four:7,frac:6,frame:[1,2,7],framework:2,freeverb:6,freeze_mod:6,frequenc:6,frequent:3,from:[0,1,2,3,5,6,7],front:1,full:6,full_bandwidth:1,further:[6,7],futur:7,g:6,gain:[1,3,6],gain_db:[1,6],garbag:2,gate:6,gener:[5,6],get:6,get_audio_buff:7,get_plugin_names_for_fil:6,get_supported_read_format:7,get_supported_write_format:7,getvalu:7,gigabyt:7,gil:3,git:4,github:3,give:[2,6],given:[6,7],glibc:3,global:[2,3],gmbh:[5,6],gnu:5,goal:4,good:6,gplv2:5,gplv3:[4,5],gradio:1,gsm:6,gsmcompressor:6,gsmfullratecompressor:[3,5,6],guarante:3,guid:3,guitar:3,guitar_amp:1,guitarboard:2,ha:[0,6,7],hand:7,happen:7,hard:[6,7],harmon:6,have:[0,2,4,6,7],hear:2,heavili:3,help:3,hertz:6,hide:4,high:[2,6],higher:6,highest:6,highpassfilt:[3,6],highshelffilt:6,horizont:6,hour:7,how:[0,6],howev:[2,6],hpf12:[1,6],hpf24:6,html:6,http:6,hug:1,hyperbol:6,hz:[6,7],i:[2,3,6,7],icorv:3,ident:6,identifi:6,idiomat:4,iff:7,iir:6,iirfilt:6,implement:[4,6],importerror:6,improv:3,impuls:6,impulse_response_filenam:6,includ:[0,2,3,4,5],inclus:5,incorrectli:0,increas:[4,6,7],increment:7,index:6,indic:[6,7],infinit:6,initi:6,input:[1,2,6,7],input_arrai:6,input_lvl_db:1,insert:6,insid:6,instal:[4,6,7],instanc:[1,4,6],instead:[3,6,7],instrument:3,int16:7,int32:7,int8:7,integ:6,intel:3,intellig:3,intend:6,interact:1,interest:1,interfac:[2,4],intern:[0,3,6],interpret:[0,2,3],interv:2,introduc:[6,7],intuit:4,invent:6,invert:6,io:[1,2,3,6],isc:5,issu:[0,2,4],its:[6,7],itself:[2,4,6],jo:6,juce:[2,4,5],just:[0,1,2,4,7],kbp:7,kei:[1,6],keyboardinterrupt:6,kilobit:7,kind:6,known:1,kwarg:6,lab:3,ladder:6,ladderfilt:[1,3,6],lagrang:6,lame:[5,6,7],languag:2,larg:[2,7],latm:7,leak:0,learn:[3,4],length:7,less:6,level:7,lfo:6,lgplv2:5,libgsm:5,libmp3lam:5,librari:[2,3,4,5,6,7],librosa:3,licens:[3,4],like:[1,6,7],limit:[1,3,6],line:[6,7],linear:6,link:4,linux:[3,4,6,7],list:[1,6],liter:7,live:3,lo:6,loa:7,load:[0,1,3,4,6],load_plugin:[0,1,3,4,6],load_preset:6,loadabl:6,locat:7,lock:[2,3],logic:4,longer:7,lossi:[3,6],lot:6,loud:[3,6],low:6,lower:6,lowest:6,lowpassfilt:[3,6],lowshelffilt:6,lpf12:6,lpf24:6,m4a:7,m4b:7,m4r:7,machin:[3,4],maco:[3,4,6,7],magnitud:6,mai:[0,4,6,7],make:[2,3],makeup_db:1,mani:[0,3,6,7],manipul:[],manual:[2,3],manylinux:3,match:[6,7],mathemat:6,maximum:7,md:3,mean:2,meant:4,media:5,megabyt:7,memori:[2,3,6,7],mere:6,method:[6,7],midi:3,might:4,minimum:7,misbehav:0,mix:[1,6],mode:[1,6,7],model:[3,6],moder:6,modern:3,modifi:2,modul:[6,7],moog:6,more:[1,3,4,6,7],most:[0,2,3,4,6,7],mov:7,mp1:7,mp2:7,mp3:[3,6,7],mp3compressor:[3,5,6],mp4:7,mpa:7,mpeg:7,ms:6,much:[1,6],multi:[6,7],multipl:[1,2,3,6,7],multiprocess:3,music:4,must:[6,7],mutat:2,my_fil:7,name:[6,7],nativ:[6,7],ndarrai:[6,7],nearli:7,need:[3,4],nest:1,network:2,newer:5,next:0,nois:6,noiseg:6,noisi:6,non:6,none:[6,7],normal:6,notabl:4,notch:6,note:[2,6,7],notebook:1,notic:0,np:7,num_channel:[2,7],num_fram:7,number:[2,3,5,6,7],numer:7,numpi:[6,7],o:[2,3,6,7],object:[1,2,6,7],occur:7,octav:6,off:[2,6],offlin:2,ogg:[3,7],ogg_buff:7,onc:7,one:[0,3,6,7],onli:[3,6,7],onto:6,open:[2,4,7],oper:[2,6,7],option:[4,6,7],order:6,origin:6,oscil:6,other:[0,1,3,6,7],otherwis:7,our:2,out:[2,3,6,7],output:[1,2,6,7],output_lvl_db:1,over:3,overload:6,own:[5,6],packag:[4,6,7],parallel:[3,6],paramet:[1,3,6,7],parameter_valu:6,parti:[3,6],pasp:6,pass:[0,2,6,7],passthrough:1,path:[1,6,7],path_to_plugin_fil:6,paus:2,pbar:2,peak:6,peakfilt:6,pedalboard:[0,3,5],pedalboard_n:6,per:[6,7],percentag:[2,6],percentage_through_track:2,perform:4,permit:5,phaser:[1,3,6],phone:6,pip:3,pipelin:3,pitch:[1,3,6],pitchshift:[1,3,5,6],platform:[3,4,6,7],pleas:6,plug:6,plugin:[3,5,6],plugin_nam:6,plugincontain:6,point:6,pointer:7,polar:6,pop:2,popular:3,portabl:4,posit:7,possibl:[2,3,7],potenti:2,present:6,preset:6,preset_file_path:6,pretti:1,prevent:2,previou:6,print:1,prioriti:2,probabl:7,problem:7,process:[0,1,2,3,4,5,6],produc:6,product:3,program:[0,1,2],programm:4,progress:2,project:[2,5],properti:[6,7],provid:[4,6,7],pull:[2,5],put:1,pybind11:4,pypi:3,pysox:3,python:[0,2,3,4,6,7],q:6,qt:7,qualiti:[3,6,7],quantiz:6,question:3,quick:3,r:[1,7],rais:[6,7],ramp:2,rand:7,random:[2,7],randomli:2,rang:[2,3,6],rare:4,rate:[2,6,7],rate_hz:6,rather:7,ratio:[1,6],raw:[4,7],re:7,read:[1,2,3,6,7],read_raw:7,readabl:7,readableaudiofil:7,real:[3,6],reason:4,receiv:[2,6],reduc:6,reduct:[3,6],redund:7,regardless:7,regist:5,regular:[2,7],rel:3,releas:[3,6],release_m:[1,6],reliabl:7,reload:0,remain:6,remov:[4,6],render:[0,7],repo:3,report:6,repositori:[1,4],repres:6,request:2,requir:[2,3,4,6,7],resampl:[3,6],reset:[2,6],resolut:6,reson:6,resourc:4,respons:6,result:2,reverb:[0,1,2,3,6],robust:3,roll:6,room_siz:[1,6],roughli:6,roughrider3:1,rubber:[5,6],run:[1,6],runtim:4,runtimeerror:[6,7],s:[3,4,6,7],safe:4,safeti:3,same:[1,4,6,7],sampl:[2,6,7],sample_r:6,sampler:[1,2,7],save:2,sc_activ:1,sc_hpf_hz:1,scan:6,sd2:7,sdk:5,second:[2,6,7],see:[1,2,6,7],seek:7,seekabl:7,self:6,semiton:[1,6],sensitivity_db:1,separ:2,set:[0,1,2,6,7],shape:[1,2,7],shelf:6,shift:[1,6],should:[4,6,7],show:[2,4,6],show_editor:6,side:6,signal:[4,6],silenc:0,silicon:3,simpl:6,simpler:4,simplest:6,simplic:4,simul:6,simultan:1,singl:[3,6],size:[2,4,6],slightli:6,slow:[2,6],slowest:[6,7],small:2,smaller:[1,2],smallest:[],smoother:2,snd:7,so:[0,1,2,6,7],soft:2,softwar:4,some:[0,1,4,7],someth:7,somewher:2,sound:[1,6],sounddevic:2,sourc:4,sourceforg:[],soxbind:3,space:1,spatial:3,speaker:6,specif:[0,6],specifi:[6,7],speed:[2,3,4,6],spotifi:[3,5],sqrt:6,stabil:4,stage:6,standard:6,stanford:6,start:[3,7],state:[0,6],stefanobazzi:2,steinberg:[5,6],step:2,step_size_in_sampl:2,stereo:[6,7],still:6,store:[6,7],str:[6,7],stream:[2,6,7],stretch:6,string:[6,7],stringio:7,strong:3,studio:3,stutter:2,style:3,subclass:6,submodul:4,suitabl:6,support:[3,4,6,7],suppos:0,sweep:6,synthes:6,system:[2,6,7],t:[0,1,2,7],tail:[0,2,6],take:6,talk:2,tangent:6,tanh:6,target_sample_r:6,technic:2,techniqu:[2,6],technolog:5,tell:7,tensorflow:3,test:[0,3,4],tf:3,than:[3,4,6,7],them:[1,6],themselv:1,thi:[1,2,5,6,7],thing:6,think:6,third:[3,6],thoroughli:3,thread:[2,3,4],threshold:6,threshold_db:[1,6],through:[1,2,6,7],thrown:6,time:[0,3,6],too:7,total:[2,7],tqdm:2,track:2,trademark:5,trail:7,transform:3,transit:2,tune:6,two:6,type:[6,7],typeerror:7,typic:7,ui:6,unavail:6,unbound:2,unchang:6,under:5,underli:[2,7],undesir:0,union:[6,7],uniqu:6,unit:[0,2,3,4,6],unlik:7,unsupport:[6,7],until:6,unus:[2,7],up:[2,3,6],updat:2,upgrad:5,upsampl:6,us:[3,4,5,6,7],usabl:7,usag:[3,6],user:4,usual:[2,6,7],util:[3,6],v0:7,v2:7,v3:5,v9:7,valu:[6,7],vari:2,variabl:[6,7],varieti:4,variou:6,vbr:6,vbr_qualiti:6,vendor:4,veri:2,versa:4,vertic:6,via:[1,3,6],vibrato:6,vice:4,volum:6,vorbi:7,vst3:[0,3,4,5,6],vst3plugin:6,vst:[1,3,5],vstpreset:6,w64:7,w:[1,2,7],wa:[3,6,7],wai:4,want:7,warn:0,wav:[1,2,3,7],wav_buff:7,waveshap:6,we:2,web:1,well:[0,3,4,6,7],were:6,wet:[2,6],wet_level:[2,6],what:6,wheel:[3,4],when:[0,2,3,4,6],where:4,which:[0,2,5,6,7],white_nois:7,whole:1,wide:[3,6],wider:4,width:6,window:[3,4,6,7],windowedsinc:6,within:[3,4,6],without:[0,2,3,6],wma:[3,7],wonder:6,work:[0,3,6,7],workstat:3,worst:[0,7],would:[2,4,6,7],wrap:7,wrapper:[4,6],write:[1,2,3,6,7],writeabl:7,writeableaudiofil:7,writer:[],written:[2,4,7],x86:3,x86_64:3,x:6,xhe:7,ye:2,yet:2,you:[1,3,7],your:2,zero:6,zeroorderhold:6},titles:["Plugin Compatibility","Examples","Frequently Asked Questions","Features","Pedalboard Internals","License","The <code class=\"docutils literal notranslate\"><span class=\"pre\">pedalboard</span></code> API","The <code class=\"docutils literal notranslate\"><span class=\"pre\">pedalboard.io</span></code> API"],titleterms:{"new":4,The:[6,7],accept:2,ad:4,api:[6,7],ask:2,audio:[1,2],built:4,can:2,chain:1,chang:2,compat:[0,3],consider:4,creat:1,design:4,document:3,doe:2,effect:[1,2],exampl:1,featur:3,frequent:2,guitar:1,instal:3,instead:2,instrument:2,intern:4,io:7,licens:5,live:2,make:1,midi:2,over:2,parallel:1,paramet:2,pedalboard:[1,2,4,6,7],plugin:[0,1,2,4],question:2,quick:1,real:2,refer:3,s:2,start:1,style:1,support:2,time:2,unit:1,us:[1,2],vst3:1,vst:2}})\ No newline at end of filediff --git a/docs/source/conf.py b/docs/source/conf.pyindex 678cb70..d318250 100644--- a/docs/source/conf.py+++ b/docs/source/conf.py@@ -19,8 +19,10 @@ from pedalboard.version import MAJOR, MINOR, PATCH# -- Project information -----------------------------------------------------+import datetime+project = "Pedalboard"-copyright = "2022, Spotify AB"+copyright = f"2021-{datetime.date.today().year}, Spotify AB"author = "Peter Sobot"# The full version, including alpha/beta/rc tagsdiff --git a/pedalboard/__init__.pyi b/pedalboard/__init__.pyiindex 3951bad..7042853 100644--- a/pedalboard/__init__.pyi+++ b/pedalboard/__init__.pyi@@ -21,6 +21,7 @@ __all__ = ["Gain","HighShelfFilter","HighpassFilter",+ "IIRFilter","Invert","LadderFilter","Limiter",@@ -261,7 +262,30 @@ class Gain(Plugin):passpass-class HighShelfFilter(Plugin):+class IIRFilter(Plugin):+ """+ An abstract class that implements various kinds of infinite impulse response (IIR) filter designs. This should not be used directly; use :class:`HighShelfFilter`, :class:`LowShelfFilter`, or :class:`PeakFilter` directly instead.+ """++ def __init__(self) -> None: ...+ pass++class HighpassFilter(Plugin):+ """+ Apply a first-order high-pass filter with a roll-off of 6dB/octave. The cutoff frequency will be attenuated by -3dB (i.e.: :math:`\\frac{1}{\\sqrt{2}}` as loud, expressed as a gain factor) and lower frequencies will be attenuated by a further 6dB per octave.)+ """++ def __init__(self, cutoff_frequency_hz: float = 50) -> None: ...+ def __repr__(self) -> str: ...+ @property+ def cutoff_frequency_hz(self) -> float:+ """ """+ @cutoff_frequency_hz.setter+ def cutoff_frequency_hz(self, arg1: float) -> None:+ pass+ pass++class HighShelfFilter(IIRFilter, Plugin):"""A high shelf filter plugin with variable Q and gain, as would be used in an equalizer. Frequencies above the cutoff frequency will be boosted (or cut) by the provided gain (in decibels)."""@@ -290,21 +314,6 @@ class HighShelfFilter(Plugin):passpass-class HighpassFilter(Plugin):- """- Apply a first-order high-pass filter with a roll-off of 6dB/octave. The cutoff frequency will be attenuated by -3dB (i.e.: :math:`\\frac{1}{\\sqrt{2}}` as loud, expressed as a gain factor) and lower frequencies will be attenuated by a further 6dB per octave.)- """-- def __init__(self, cutoff_frequency_hz: float = 50) -> None: ...- def __repr__(self) -> str: ...- @property- def cutoff_frequency_hz(self) -> float:- """ """- @cutoff_frequency_hz.setter- def cutoff_frequency_hz(self, arg1: float) -> None:- pass- pass-class Invert(Plugin):"""Flip the polarity of the signal. This effect is not audible on its own and takes no parameters. This effect is mathematically identical to ``def invert(x): return -x``.@@ -413,7 +422,7 @@ class Limiter(Plugin):passpass-class LowShelfFilter(Plugin):+class LowShelfFilter(IIRFilter, Plugin):"""A low shelf filter with variable Q and gain, as would be used in an equalizer. Frequencies below the cutoff frequency will be boosted (or cut) by the provided gain value."""@@ -515,7 +524,7 @@ class NoiseGate(Plugin):passpass-class PeakFilter(Plugin):+class PeakFilter(IIRFilter, Plugin):"""A peak (or notch) filter with variable Q and gain, as would be used in an equalizer. Frequencies around the cutoff frequency will be boosted (or cut) by the provided gain value."""diff --git a/pedalboard/plugins/IIRFilters.h b/pedalboard/plugins/IIRFilters.hindex 534c63d..d61eabd 100644--- a/pedalboard/plugins/IIRFilters.h+++ b/pedalboard/plugins/IIRFilters.h@@ -125,7 +125,13 @@ inline void init_iir_filters(py::module &m) {"An abstract class that implements various kinds of infinite impulse ""response (IIR) filter designs. This should not be used directly; use "":class:`HighShelfFilter`, :class:`LowShelfFilter`, or "- ":class:`PeakFilter` directly instead.");+ ":class:`PeakFilter` directly instead.")+ .def(py::init([]() {+ throw std::runtime_error(+ "IIRFilter is not designed to be instantiated directly: "+ "use HighShelfFilter, LowShelfFilter, or PeakFilter instead.");+ return nullptr;+ }));py::class_<HighShelfFilter<float>, IIRFilter<float>,std::shared_ptr<HighShelfFilter<float>>>(