π π A Python library for audio.
C audioaudio-processingaudio-productionaudio-researchaudio-unitaugmentationjucemachine-learningpybind11pythonvst3vst3-host
Update pedalboard.py
Peter Sobot39107a62a45e
diff --git a/pedalboard/pedalboard.py b/pedalboard/pedalboard.pyindex 0d79713..0a6d4c3 100644--- a/pedalboard/pedalboard.py+++ b/pedalboard/pedalboard.py@@ -467,8 +467,7 @@ def to_python_parameter_name(parameter: _AudioProcessorParameter) -> Optional[stname = "{} {}".format(name, parameter.label.lower())# Replace all non-alphanumeric characters with underscoresname = [- c- if (c.isalpha() or c.isnumeric()) and c.isprintable() and ord(c) < 128 else "_"+ c if (c.isalpha() or c.isnumeric()) and c.isprintable() and ord(c) < 128 else "_"for c in name]# Remove any double-underscores: