Skip to content

๐ŸŽ› ๐Ÿ”Š A Python library for audio.

Bump to v0.8.5.

Peter Sobotf2c2ccd64e78
diff --git a/docs/_static/documentation_options.js b/docs/_static/documentation_options.js
index 7174a2c..334563a 100644
--- a/docs/_static/documentation_options.js
+++ b/docs/_static/documentation_options.js
@@ -1,6 +1,6 @@
var DOCUMENTATION_OPTIONS = {
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
- VERSION: 'v0.8.4',
+ VERSION: 'v0.8.5',
LANGUAGE: 'en',
COLLAPSE_INDEX: false,
BUILDER: 'html',
diff --git a/docs/compatibility.html b/docs/compatibility.html
index d2fbf3d..b52f6ee 100644
--- a/docs/compatibility.html
+++ b/docs/compatibility.html
@@ -6,7 +6,7 @@
<meta property="og:title" content="Plugin Compatibility" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://spotify.github.io/pedalboard/compatibility.html" />
-<meta property="og:site_name" content="Pedalboard v0.8.4 Documentation" />
+<meta property="og:site_name" content="Pedalboard v0.8.5 Documentation" />
<meta property="og:description" content="pedalboard allows loading VST3ยฎ and Audio Unit plugins, which could contain any code. Most plugins that have been tested work just fine with pedalboard, but some plugins may not work with pedalboar..." />
<meta property="og:image" content="https://repository-images.githubusercontent.com/383471193/0f79b949-9b91-4436-bfc4-05d30ef384cc" />
<meta property="og:image:alt" content="๐ŸŽ› ๐Ÿ”Š Documentation for Pedalboard: A Python library for working with audio." />
@@ -14,7 +14,7 @@
<link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="search.html" /><link rel="next" title="Pedalboard Internals" href="internals.html" /><link rel="prev" title="Frequently Asked Questions" href="faq.html" />
<link rel="shortcut icon" href="_static/favicon.ico"/><meta name="generator" content="sphinx-5.3.0, furo 2022.09.29"/>
- <title>Plugin Compatibility - Pedalboard v0.8.4 Documentation</title>
+ <title>Plugin Compatibility - Pedalboard v0.8.5 Documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?digest=d81277517bee4d6b0349d71bb2661d4890b5617c" />
<link rel="stylesheet" type="text/css" href="_static/copybutton.css" />
@@ -132,7 +132,7 @@
</label>
</div>
<div class="header-center">
- <a href="index.html"><div class="brand">Pedalboard v0.8.4 Documentation</div></a>
+ <a href="index.html"><div class="brand">Pedalboard v0.8.5 Documentation</div></a>
</div>
<div class="header-right">
<div class="theme-toggle-container theme-toggle-header">
@@ -158,7 +158,7 @@
<img class="sidebar-logo" src="_static/pedalboard_logo_small.png" alt="Logo"/>
</div>
- <span class="sidebar-brand-text">Pedalboard v0.8.4 Documentation</span>
+ <span class="sidebar-brand-text">Pedalboard v0.8.5 Documentation</span>
</a><form class="sidebar-search-container" method="get" action="search.html" role="search">
<input class="sidebar-search" placeholder=Search name="q" aria-label="Search">
diff --git a/docs/examples.html b/docs/examples.html
index e474ad8..13232d4 100644
--- a/docs/examples.html
+++ b/docs/examples.html
@@ -6,7 +6,7 @@
<meta property="og:title" content="Examples" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://spotify.github.io/pedalboard/examples.html" />
-<meta property="og:site_name" content="Pedalboard v0.8.4 Documentation" />
+<meta property="og:site_name" content="Pedalboard v0.8.5 Documentation" />
<meta property="og:description" content="Note: If youโ€™d rather watch a video instead of reading examples or documentation,** watch*Working with Audio in Python (feat. Pedalboard)* on YouTube**. Quick start: Note: For more information abou..." />
<meta property="og:image" content="https://repository-images.githubusercontent.com/383471193/0f79b949-9b91-4436-bfc4-05d30ef384cc" />
<meta property="og:image:alt" content="๐ŸŽ› ๐Ÿ”Š Documentation for Pedalboard: A Python library for working with audio." />
@@ -14,7 +14,7 @@
<link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="search.html" /><link rel="next" title="Frequently Asked Questions" href="faq.html" /><link rel="prev" title="The pedalboard.io API" href="reference/pedalboard.io.html" />
<link rel="shortcut icon" href="_static/favicon.ico"/><meta name="generator" content="sphinx-5.3.0, furo 2022.09.29"/>
- <title>Examples - Pedalboard v0.8.4 Documentation</title>
+ <title>Examples - Pedalboard v0.8.5 Documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?digest=d81277517bee4d6b0349d71bb2661d4890b5617c" />
<link rel="stylesheet" type="text/css" href="_static/copybutton.css" />
@@ -132,7 +132,7 @@
</label>
</div>
<div class="header-center">
- <a href="index.html"><div class="brand">Pedalboard v0.8.4 Documentation</div></a>
+ <a href="index.html"><div class="brand">Pedalboard v0.8.5 Documentation</div></a>
</div>
<div class="header-right">
<div class="theme-toggle-container theme-toggle-header">
@@ -158,7 +158,7 @@
<img class="sidebar-logo" src="_static/pedalboard_logo_small.png" alt="Logo"/>
</div>
- <span class="sidebar-brand-text">Pedalboard v0.8.4 Documentation</span>
+ <span class="sidebar-brand-text">Pedalboard v0.8.5 Documentation</span>
</a><form class="sidebar-search-container" method="get" action="search.html" role="search">
<input class="sidebar-search" placeholder=Search name="q" aria-label="Search">
diff --git a/docs/faq.html b/docs/faq.html
index a33919c..1095869 100644
--- a/docs/faq.html
+++ b/docs/faq.html
@@ -6,7 +6,7 @@
<meta property="og:title" content="Frequently Asked Questions" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://spotify.github.io/pedalboard/faq.html" />
-<meta property="og:site_name" content="Pedalboard v0.8.4 Documentation" />
+<meta property="og:site_name" content="Pedalboard v0.8.5 Documentation" />
<meta property="og:description" content="Can Pedalboard be used with live (real-time) audio?: As of version 0.7.0, yes! See the pedalboard.io.AudioStream class for more details. Does Pedalboard support changing a pluginโ€™s parameters over ..." />
<meta property="og:image" content="https://repository-images.githubusercontent.com/383471193/0f79b949-9b91-4436-bfc4-05d30ef384cc" />
<meta property="og:image:alt" content="๐ŸŽ› ๐Ÿ”Š Documentation for Pedalboard: A Python library for working with audio." />
@@ -14,7 +14,7 @@
<link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="search.html" /><link rel="next" title="Plugin Compatibility" href="compatibility.html" /><link rel="prev" title="Examples" href="examples.html" />
<link rel="shortcut icon" href="_static/favicon.ico"/><meta name="generator" content="sphinx-5.3.0, furo 2022.09.29"/>
- <title>Frequently Asked Questions - Pedalboard v0.8.4 Documentation</title>
+ <title>Frequently Asked Questions - Pedalboard v0.8.5 Documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?digest=d81277517bee4d6b0349d71bb2661d4890b5617c" />
<link rel="stylesheet" type="text/css" href="_static/copybutton.css" />
@@ -132,7 +132,7 @@
</label>
</div>
<div class="header-center">
- <a href="index.html"><div class="brand">Pedalboard v0.8.4 Documentation</div></a>
+ <a href="index.html"><div class="brand">Pedalboard v0.8.5 Documentation</div></a>
</div>
<div class="header-right">
<div class="theme-toggle-container theme-toggle-header">
@@ -158,7 +158,7 @@
<img class="sidebar-logo" src="_static/pedalboard_logo_small.png" alt="Logo"/>
</div>
- <span class="sidebar-brand-text">Pedalboard v0.8.4 Documentation</span>
+ <span class="sidebar-brand-text">Pedalboard v0.8.5 Documentation</span>
</a><form class="sidebar-search-container" method="get" action="search.html" role="search">
<input class="sidebar-search" placeholder=Search name="q" aria-label="Search">
diff --git a/docs/genindex.html b/docs/genindex.html
index 6c4514a..2688b1f 100644
--- a/docs/genindex.html
+++ b/docs/genindex.html
@@ -4,7 +4,7 @@
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="#" /><link rel="search" title="Search" href="search.html" />
- <link rel="shortcut icon" href="_static/favicon.ico"/><meta name="generator" content="sphinx-5.3.0, furo 2022.09.29"/><title>Index - Pedalboard v0.8.4 Documentation</title>
+ <link rel="shortcut icon" href="_static/favicon.ico"/><meta name="generator" content="sphinx-5.3.0, furo 2022.09.29"/><title>Index - Pedalboard v0.8.5 Documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?digest=d81277517bee4d6b0349d71bb2661d4890b5617c" />
<link rel="stylesheet" type="text/css" href="_static/copybutton.css" />
@@ -122,7 +122,7 @@
</label>
</div>
<div class="header-center">
- <a href="index.html"><div class="brand">Pedalboard v0.8.4 Documentation</div></a>
+ <a href="index.html"><div class="brand">Pedalboard v0.8.5 Documentation</div></a>
</div>
<div class="header-right">
<div class="theme-toggle-container theme-toggle-header">
@@ -148,7 +148,7 @@
<img class="sidebar-logo" src="_static/pedalboard_logo_small.png" alt="Logo"/>
</div>
- <span class="sidebar-brand-text">Pedalboard v0.8.4 Documentation</span>
+ <span class="sidebar-brand-text">Pedalboard v0.8.5 Documentation</span>
</a><form class="sidebar-search-container" method="get" action="search.html" role="search">
<input class="sidebar-search" placeholder=Search name="q" aria-label="Search">
diff --git a/docs/index.html b/docs/index.html
index 4bc9e14..f59671c 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -6,7 +6,7 @@
<meta property="og:title" content="Pedalboard Documentation" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://spotify.github.io/pedalboard/index.html" />
-<meta property="og:site_name" content="Pedalboard v0.8.4 Documentation" />
+<meta property="og:site_name" content="Pedalboard v0.8.5 Documentation" />
<meta property="og:description" content="๐ŸŽ› ๐Ÿ”Š Documentation for Pedalboard: A Python library for working with audio." />
<meta property="og:image" content="https://repository-images.githubusercontent.com/383471193/0f79b949-9b91-4436-bfc4-05d30ef384cc" />
<meta property="og:image:alt" content="๐ŸŽ› ๐Ÿ”Š Documentation for Pedalboard: A Python library for working with audio." />
@@ -14,7 +14,7 @@
<link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="search.html" /><link rel="next" title="The pedalboard API" href="reference/pedalboard.html" />
<link rel="shortcut icon" href="_static/favicon.ico"/><meta name="generator" content="sphinx-5.3.0, furo 2022.09.29"/>
- <title>Pedalboard v0.8.4 Documentation</title>
+ <title>Pedalboard v0.8.5 Documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?digest=d81277517bee4d6b0349d71bb2661d4890b5617c" />
<link rel="stylesheet" type="text/css" href="_static/copybutton.css" />
@@ -132,7 +132,7 @@
</label>
</div>
<div class="header-center">
- <a href="#"><div class="brand">Pedalboard v0.8.4 Documentation</div></a>
+ <a href="#"><div class="brand">Pedalboard v0.8.5 Documentation</div></a>
</div>
<div class="header-right">
<div class="theme-toggle-container theme-toggle-header">
@@ -158,7 +158,7 @@
<img class="sidebar-logo" src="_static/pedalboard_logo_small.png" alt="Logo"/>
</div>
- <span class="sidebar-brand-text">Pedalboard v0.8.4 Documentation</span>
+ <span class="sidebar-brand-text">Pedalboard v0.8.5 Documentation</span>
</a><form class="sidebar-search-container" method="get" action="search.html" role="search">
<input class="sidebar-search" placeholder=Search name="q" aria-label="Search">
diff --git a/docs/internals.html b/docs/internals.html
index 494b34a..b88f90a 100644
--- a/docs/internals.html
+++ b/docs/internals.html
@@ -6,7 +6,7 @@
<meta property="og:title" content="Pedalboard Internals" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://spotify.github.io/pedalboard/internals.html" />
-<meta property="og:site_name" content="Pedalboard v0.8.4 Documentation" />
+<meta property="og:site_name" content="Pedalboard v0.8.5 Documentation" />
<meta property="og:description" content="Pedalboard is a Python wrapper around JUCE, an open-source cross-platform C++ library for developing audio applications. Most of Pedalboard is written in C++ using pybind11, a library for binding C..." />
<meta property="og:image" content="https://repository-images.githubusercontent.com/383471193/0f79b949-9b91-4436-bfc4-05d30ef384cc" />
<meta property="og:image:alt" content="๐ŸŽ› ๐Ÿ”Š Documentation for Pedalboard: A Python library for working with audio." />
@@ -14,7 +14,7 @@
<link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="search.html" /><link rel="next" title="License" href="license.html" /><link rel="prev" title="Plugin Compatibility" href="compatibility.html" />
<link rel="shortcut icon" href="_static/favicon.ico"/><meta name="generator" content="sphinx-5.3.0, furo 2022.09.29"/>
- <title>Pedalboard Internals - Pedalboard v0.8.4 Documentation</title>
+ <title>Pedalboard Internals - Pedalboard v0.8.5 Documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?digest=d81277517bee4d6b0349d71bb2661d4890b5617c" />
<link rel="stylesheet" type="text/css" href="_static/copybutton.css" />
@@ -132,7 +132,7 @@
</label>
</div>
<div class="header-center">
- <a href="index.html"><div class="brand">Pedalboard v0.8.4 Documentation</div></a>
+ <a href="index.html"><div class="brand">Pedalboard v0.8.5 Documentation</div></a>
</div>
<div class="header-right">
<div class="theme-toggle-container theme-toggle-header">
@@ -158,7 +158,7 @@
<img class="sidebar-logo" src="_static/pedalboard_logo_small.png" alt="Logo"/>
</div>
- <span class="sidebar-brand-text">Pedalboard v0.8.4 Documentation</span>
+ <span class="sidebar-brand-text">Pedalboard v0.8.5 Documentation</span>
</a><form class="sidebar-search-container" method="get" action="search.html" role="search">
<input class="sidebar-search" placeholder=Search name="q" aria-label="Search">
diff --git a/docs/license.html b/docs/license.html
index 58969a4..dbd96f3 100644
--- a/docs/license.html
+++ b/docs/license.html
@@ -6,7 +6,7 @@
<meta property="og:title" content="License" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://spotify.github.io/pedalboard/license.html" />
-<meta property="og:site_name" content="Pedalboard v0.8.4 Documentation" />
+<meta property="og:site_name" content="Pedalboard v0.8.5 Documentation" />
<meta property="og:description" content="pedalboard is Copyright 2021-2023 Spotify AB. pedalboard is licensed under the GNU General Public License v3. pedalboard includes a number of libraries that are statically compiled, and which carry..." />
<meta property="og:image" content="https://repository-images.githubusercontent.com/383471193/0f79b949-9b91-4436-bfc4-05d30ef384cc" />
<meta property="og:image:alt" content="๐ŸŽ› ๐Ÿ”Š Documentation for Pedalboard: A Python library for working with audio." />
@@ -14,7 +14,7 @@
<link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="search.html" /><link rel="prev" title="Pedalboard Internals" href="internals.html" />
<link rel="shortcut icon" href="_static/favicon.ico"/><meta name="generator" content="sphinx-5.3.0, furo 2022.09.29"/>
- <title>License - Pedalboard v0.8.4 Documentation</title>
+ <title>License - Pedalboard v0.8.5 Documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?digest=d81277517bee4d6b0349d71bb2661d4890b5617c" />
<link rel="stylesheet" type="text/css" href="_static/copybutton.css" />
@@ -132,7 +132,7 @@
</label>
</div>
<div class="header-center">
- <a href="index.html"><div class="brand">Pedalboard v0.8.4 Documentation</div></a>
+ <a href="index.html"><div class="brand">Pedalboard v0.8.5 Documentation</div></a>
</div>
<div class="header-right">
<div class="theme-toggle-container theme-toggle-header">
@@ -158,7 +158,7 @@
<img class="sidebar-logo" src="_static/pedalboard_logo_small.png" alt="Logo"/>
</div>
- <span class="sidebar-brand-text">Pedalboard v0.8.4 Documentation</span>
+ <span class="sidebar-brand-text">Pedalboard v0.8.5 Documentation</span>
</a><form class="sidebar-search-container" method="get" action="search.html" role="search">
<input class="sidebar-search" placeholder=Search name="q" aria-label="Search">
diff --git a/docs/py-modindex.html b/docs/py-modindex.html
index 821a1b1..cb90958 100644
--- a/docs/py-modindex.html
+++ b/docs/py-modindex.html
@@ -4,7 +4,7 @@
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="search.html" />
- <link rel="shortcut icon" href="_static/favicon.ico"/><meta name="generator" content="sphinx-5.3.0, furo 2022.09.29"/><title>Python Module Index - Pedalboard v0.8.4 Documentation</title>
+ <link rel="shortcut icon" href="_static/favicon.ico"/><meta name="generator" content="sphinx-5.3.0, furo 2022.09.29"/><title>Python Module Index - Pedalboard v0.8.5 Documentation</title>
<link rel="stylesheet" type="text/css" href="_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?digest=d81277517bee4d6b0349d71bb2661d4890b5617c" />
<link rel="stylesheet" type="text/css" href="_static/copybutton.css" />
@@ -122,7 +122,7 @@
</label>
</div>
<div class="header-center">
- <a href="index.html"><div class="brand">Pedalboard v0.8.4 Documentation</div></a>
+ <a href="index.html"><div class="brand">Pedalboard v0.8.5 Documentation</div></a>
</div>
<div class="header-right">
<div class="theme-toggle-container theme-toggle-header">
@@ -148,7 +148,7 @@
<img class="sidebar-logo" src="_static/pedalboard_logo_small.png" alt="Logo"/>
</div>
- <span class="sidebar-brand-text">Pedalboard v0.8.4 Documentation</span>
+ <span class="sidebar-brand-text">Pedalboard v0.8.5 Documentation</span>
</a><form class="sidebar-search-container" method="get" action="search.html" role="search">
<input class="sidebar-search" placeholder=Search name="q" aria-label="Search">
diff --git a/docs/reference/pedalboard.html b/docs/reference/pedalboard.html
index a6a5764..17b7372 100644
--- a/docs/reference/pedalboard.html
+++ b/docs/reference/pedalboard.html
@@ -6,7 +6,7 @@
<meta property="og:title" content="The pedalboard API" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://spotify.github.io/pedalboard/reference/pedalboard.html" />
-<meta property="og:site_name" content="Pedalboard v0.8.4 Documentation" />
+<meta property="og:site_name" content="Pedalboard v0.8.5 Documentation" />
<meta property="og:description" content="This module provides classes and functions for adding effects to audio. Most classes in this module are subclasses of Plugin, each of which allows applying effects to an audio buffer or stream. The..." />
<meta property="og:image" content="https://repository-images.githubusercontent.com/383471193/0f79b949-9b91-4436-bfc4-05d30ef384cc" />
<meta property="og:image:alt" content="๐ŸŽ› ๐Ÿ”Š Documentation for Pedalboard: A Python library for working with audio." />
@@ -14,7 +14,7 @@
<link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="The pedalboard.io API" href="pedalboard.io.html" /><link rel="prev" title="Features" href="../index.html" />
<link rel="shortcut icon" href="../_static/favicon.ico"/><meta name="generator" content="sphinx-5.3.0, furo 2022.09.29"/>
- <title>The pedalboard API - Pedalboard v0.8.4 Documentation</title>
+ <title>The pedalboard API - Pedalboard v0.8.5 Documentation</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../_static/styles/furo.css?digest=d81277517bee4d6b0349d71bb2661d4890b5617c" />
<link rel="stylesheet" type="text/css" href="../_static/copybutton.css" />
@@ -132,7 +132,7 @@
</label>
</div>
<div class="header-center">
- <a href="../index.html"><div class="brand">Pedalboard v0.8.4 Documentation</div></a>
+ <a href="../index.html"><div class="brand">Pedalboard v0.8.5 Documentation</div></a>
</div>
<div class="header-right">
<div class="theme-toggle-container theme-toggle-header">
@@ -158,7 +158,7 @@
<img class="sidebar-logo" src="../_static/pedalboard_logo_small.png" alt="Logo"/>
</div>
- <span class="sidebar-brand-text">Pedalboard v0.8.4 Documentation</span>
+ <span class="sidebar-brand-text">Pedalboard v0.8.5 Documentation</span>
</a><form class="sidebar-search-container" method="get" action="../search.html" role="search">
<input class="sidebar-search" placeholder=Search name="q" aria-label="Search">
diff --git a/docs/reference/pedalboard.io.html b/docs/reference/pedalboard.io.html
index b1e2083..8cc5d66 100644
--- a/docs/reference/pedalboard.io.html
+++ b/docs/reference/pedalboard.io.html
@@ -6,7 +6,7 @@
<meta property="og:title" content="The pedalboard.io API" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://spotify.github.io/pedalboard/reference/pedalboard.io.html" />
-<meta property="og:site_name" content="Pedalboard v0.8.4 Documentation" />
+<meta property="og:site_name" content="Pedalboard v0.8.5 Documentation" />
<meta property="og:description" content="This module provides classes and functions for reading and writing audio files or streams. pedalboard.io allows for reading and writing to audio files just like working with other types of files in..." />
<meta property="og:image" content="https://repository-images.githubusercontent.com/383471193/0f79b949-9b91-4436-bfc4-05d30ef384cc" />
<meta property="og:image:alt" content="๐ŸŽ› ๐Ÿ”Š Documentation for Pedalboard: A Python library for working with audio." />
@@ -14,7 +14,7 @@
<link rel="index" title="Index" href="../genindex.html" /><link rel="search" title="Search" href="../search.html" /><link rel="next" title="Examples" href="../examples.html" /><link rel="prev" title="The pedalboard API" href="pedalboard.html" />
<link rel="shortcut icon" href="../_static/favicon.ico"/><meta name="generator" content="sphinx-5.3.0, furo 2022.09.29"/>
- <title>The pedalboard.io API - Pedalboard v0.8.4 Documentation</title>
+ <title>The pedalboard.io API - Pedalboard v0.8.5 Documentation</title>
<link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="../_static/styles/furo.css?digest=d81277517bee4d6b0349d71bb2661d4890b5617c" />
<link rel="stylesheet" type="text/css" href="../_static/copybutton.css" />
@@ -132,7 +132,7 @@
</label>
</div>
<div class="header-center">
- <a href="../index.html"><div class="brand">Pedalboard v0.8.4 Documentation</div></a>
+ <a href="../index.html"><div class="brand">Pedalboard v0.8.5 Documentation</div></a>
</div>
<div class="header-right">
<div class="theme-toggle-container theme-toggle-header">
@@ -158,7 +158,7 @@
<img class="sidebar-logo" src="../_static/pedalboard_logo_small.png" alt="Logo"/>
</div>
- <span class="sidebar-brand-text">Pedalboard v0.8.4 Documentation</span>
+ <span class="sidebar-brand-text">Pedalboard v0.8.5 Documentation</span>
</a><form class="sidebar-search-container" method="get" action="../search.html" role="search">
<input class="sidebar-search" placeholder=Search name="q" aria-label="Search">
diff --git a/docs/search.html b/docs/search.html
index c7ad5f3..4d6daa5 100644
--- a/docs/search.html
+++ b/docs/search.html
@@ -4,7 +4,7 @@
<meta name="viewport" content="width=device-width,initial-scale=1"/>
<meta name="color-scheme" content="light dark"><link rel="index" title="Index" href="genindex.html" /><link rel="search" title="Search" href="#" />
- <link rel="shortcut icon" href="_static/favicon.ico"/><meta name="generator" content="sphinx-5.3.0, furo 2022.09.29"/><title>Search - Pedalboard v0.8.4 Documentation</title><link rel="stylesheet" type="text/css" href="_static/pygments.css" />
+ <link rel="shortcut icon" href="_static/favicon.ico"/><meta name="generator" content="sphinx-5.3.0, furo 2022.09.29"/><title>Search - Pedalboard v0.8.5 Documentation</title><link rel="stylesheet" type="text/css" href="_static/pygments.css" />
<link rel="stylesheet" type="text/css" href="_static/styles/furo.css?digest=d81277517bee4d6b0349d71bb2661d4890b5617c" />
<link rel="stylesheet" type="text/css" href="_static/copybutton.css" />
<link rel="stylesheet" type="text/css" href="_static/styles/furo-extensions.css?digest=30d1aed668e5c3a91c3e3bf6a60b675221979f0e" />
@@ -121,7 +121,7 @@
</label>
</div>
<div class="header-center">
- <a href="index.html"><div class="brand">Pedalboard v0.8.4 Documentation</div></a>
+ <a href="index.html"><div class="brand">Pedalboard v0.8.5 Documentation</div></a>
</div>
<div class="header-right">
<div class="theme-toggle-container theme-toggle-header">
@@ -147,7 +147,7 @@
<img class="sidebar-logo" src="_static/pedalboard_logo_small.png" alt="Logo"/>
</div>
- <span class="sidebar-brand-text">Pedalboard v0.8.4 Documentation</span>
+ <span class="sidebar-brand-text">Pedalboard v0.8.5 Documentation</span>
</a><form class="sidebar-search-container" method="get" action="#" role="search">
<input class="sidebar-search" placeholder=Search name="q" aria-label="Search">
diff --git a/pedalboard/version.py b/pedalboard/version.py
index 4aad9b2..634dd16 100644
--- a/pedalboard/version.py
+++ b/pedalboard/version.py
@@ -17,6 +17,6 @@
MAJOR = 0
MINOR = 8
-PATCH = 4
+PATCH = 5
__version__ = "%d.%d.%d" % (MAJOR, MINOR, PATCH)
diff --git a/scripts/postprocess_type_hints.py b/scripts/postprocess_type_hints.py
index b798457..42dc1b0 100644
--- a/scripts/postprocess_type_hints.py
+++ b/scripts/postprocess_type_hints.py
@@ -28,6 +28,15 @@ OMIT_LINES_CONTAINING = [
"_AVAILABLE_PLUGIN_CLASSES: list",
]
+MULTILINE_REPLACEMENTS = [
+ # Users don't want "Peter Sobotโ€™s iPhone Microphone" to show up in their type hints:
+ (r"input_device_names = \[[^]]*\]\n", "input_device_names: typing.List[str] = []\n"),
+ (
+ r"output_device_names = \[[^]]*\]\n",
+ "output_device_names: typing.List[str] = []\n",
+ ),
+]
+
REPLACEMENTS = [
# object is a superclass of `str`, which would make these declarations ambiguous:
("file_like: object", "file_like: typing.BinaryIO"),
@@ -157,9 +166,16 @@ def main(args=None):
for source_file in source_files:
module_name = output_file_name.replace("__init__.pyi", "").replace("/", ".").rstrip(".")
with open(source_file) as f:
+ source_file_contents = f.read()
+ for find, replace in MULTILINE_REPLACEMENTS:
+ source_file_contents = re.sub(
+ find, replace, source_file_contents, flags=re.DOTALL
+ )
+ lines = [x + "\n" for x in source_file_contents.split("\n")]
+
in_excluded_indented_block = False
in_moved_indented_block = False
- for line in f:
+ for line in lines:
if all(x not in line for x in OMIT_LINES_CONTAINING):
if any(line.startswith(x) for x in REMOVE_INDENTED_BLOCKS_STARTING_WITH):
in_excluded_indented_block = True