π π A Python library for audio.
C audioaudio-processingaudio-productionaudio-researchaudio-unitaugmentationjucemachine-learningpybind11pythonvst3vst3-host
Mobile friendliness changes to demo before PyCon 2025 talk.
Peter Sobot13ea471f427d
diff --git a/docs/source/_static/demo/index.html b/docs/source/_static/demo/index.htmlindex 448113c..526542d 100644--- a/docs/source/_static/demo/index.html+++ b/docs/source/_static/demo/index.html@@ -629,11 +629,12 @@const isMobile = window.innerWidth < 768;pyodide.runPython(`example_file = AudioFile("example_file.mp3")- print("> Tip: example_file.mp3 is loaded:")- if not ${isMobile}:+ if ${isMobile ? 'True' : 'False'}:+ print("> Tip: example_file.mp3 is loaded.")+ else:+ print("> Tip: example_file.mp3 is loaded:")print(">>> example_file = AudioFile('example_file.mp3')")print(repr(example_file))- print()`);});@@ -816,18 +817,6 @@echo("");}- // Show the initial imports to the user- echo("import numpy as np # Import numpy for array handling");- echo("from pedalboard import * # Import pedalboard for audio processing");- echo("from pedalboard.io import * # Import pedalboard.io for audio input/output");- echo("");- echo("Welcome to the Pedalboard interactive Python environment!");- echo("> Drag any audio file (.wav, .mp3, .ogg, .flac, or .aiff) onto the page to load it.");- echo("> Call download() on any byte array to download it as a file.");- echo("> Type the variable name of any NumPy array to play it as audio in the browser.");- echo("> See <a style='color: white;' target='_blank' href='https://spotify.github.io/pedalboard/'>spotify.github.io/pedalboard</a> for documentation.", {raw: true});- echo("");-// Add handler to focus terminal when clicking on bodydocument.body.addEventListener('click', function(e) {