pistil-dsp 0.4.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pistil_dsp-0.4.0/LICENSE +21 -0
- pistil_dsp-0.4.0/PKG-INFO +77 -0
- pistil_dsp-0.4.0/README.md +576 -0
- pistil_dsp-0.4.0/THIRD_PARTY.md +20 -0
- pistil_dsp-0.4.0/docs/pypi.md +46 -0
- pistil_dsp-0.4.0/pistil/__init__.py +28 -0
- pistil_dsp-0.4.0/pistil/__init__.pyi +2122 -0
- pistil_dsp-0.4.0/pistil/__main__.py +5 -0
- pistil_dsp-0.4.0/pistil/boards/funbox.json +101 -0
- pistil_dsp-0.4.0/pistil/boards/pod.json +59 -0
- pistil_dsp-0.4.0/pistil/boards/terrarium.json +19 -0
- pistil_dsp-0.4.0/pistil/boards.py +226 -0
- pistil_dsp-0.4.0/pistil/build.py +407 -0
- pistil_dsp-0.4.0/pistil/cli.py +384 -0
- pistil_dsp-0.4.0/pistil/daisy.py +529 -0
- pistil_dsp-0.4.0/pistil/dsp_api.json +6239 -0
- pistil_dsp-0.4.0/pistil/dspscan.py +341 -0
- pistil_dsp-0.4.0/pistil/editors/nvim/README.md +95 -0
- pistil_dsp-0.4.0/pistil/editors/nvim/lua/pistil/init.lua +315 -0
- pistil_dsp-0.4.0/pistil/editors/nvim/plugin/pistil.lua +14 -0
- pistil_dsp-0.4.0/pistil/importer/__init__.py +2530 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/daisy.h +2 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/daisy_core.h +214 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/daisy_petal.h +41 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/daisy_pod.h +35 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/daisy_seed.h +2 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/funbox.h +13 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/algorithm +11 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/array +9 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/assert.h +2 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/atomic +2 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/cassert +3 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/cfloat +3 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/climits +3 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/cmath +36 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/complex +1 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/cstdarg +3 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/cstdbool +1 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/cstddef +3 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/cstdint +3 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/cstdio +3 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/cstdlib +3 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/cstring +3 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/float.h +4 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/functional +2 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/initializer_list +2 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/iterator +1 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/limits +2 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/limits.h +5 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/map +1 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/math.h +80 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/memory +1 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/new +3 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/numeric +1 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/random +2 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/stdarg.h +4 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/stdbool +1 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/stdbool.h +1 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/stddef.h +5 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/stdint.h +10 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/stdio.h +5 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/stdlib.h +10 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/string +2 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/string.h +10 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/tuple +1 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/type_traits +2 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/utility +2 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/libc/vector +3 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/pistil_import_prelude.h +5 -0
- pistil_dsp-0.4.0/pistil/importer/stubs/terrarium.h +8 -0
- pistil_dsp-0.4.0/pistil/lgpl.py +80 -0
- pistil_dsp-0.4.0/pistil/lsp.py +339 -0
- pistil_dsp-0.4.0/pistil/midi.py +139 -0
- pistil_dsp-0.4.0/pistil/plugin.py +145 -0
- pistil_dsp-0.4.0/pistil/py.typed +0 -0
- pistil_dsp-0.4.0/pistil/runtime/clap_entry_stub.cpp +7 -0
- pistil_dsp-0.4.0/pistil/runtime/clap_main.cpp +410 -0
- pistil_dsp-0.4.0/pistil/runtime/desktop_main.cpp +605 -0
- pistil_dsp-0.4.0/pistil/runtime/miniaudio_impl.c +4 -0
- pistil_dsp-0.4.0/pistil/runtime/pistil.h +500 -0
- pistil_dsp-0.4.0/pistil/runtime/pistil_font.h +103 -0
- pistil_dsp-0.4.0/pistil/runtime/pistil_host.h +52 -0
- pistil_dsp-0.4.0/pistil/sim.py +605 -0
- pistil_dsp-0.4.0/pistil/stubgen.py +304 -0
- pistil_dsp-0.4.0/pistil/templates/project/.gitignore +3 -0
- pistil_dsp-0.4.0/pistil/templates/project/.vscode/extensions.json +3 -0
- pistil_dsp-0.4.0/pistil/templates/project/.vscode/settings.json +11 -0
- pistil_dsp-0.4.0/pistil/templates/project/.vscode/tasks.json +70 -0
- pistil_dsp-0.4.0/pistil/templates/project/main.py +19 -0
- pistil_dsp-0.4.0/pistil/templates/project/pistil.json +6 -0
- pistil_dsp-0.4.0/pistil/templates/project/pyrightconfig.json +6 -0
- pistil_dsp-0.4.0/pistil/templates/starters/funbox.py +28 -0
- pistil_dsp-0.4.0/pistil/templates/starters/pod.py +27 -0
- pistil_dsp-0.4.0/pistil/templates/starters/terrarium.py +19 -0
- pistil_dsp-0.4.0/pistil/transpile.py +2621 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/LICENSE +69 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Makefile +243 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Control/adenv.cpp +167 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Control/adenv.h +100 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Control/adsr.cpp +136 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Control/adsr.h +106 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Control/phasor.cpp +27 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Control/phasor.h +71 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Drums/analogbassdrum.cpp +192 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Drums/analogbassdrum.h +113 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Drums/analogsnaredrum.cpp +219 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Drums/analogsnaredrum.h +106 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Drums/hihat.cpp +96 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Drums/hihat.h +277 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Drums/synthbassdrum.cpp +231 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Drums/synthbassdrum.h +187 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Drums/synthsnaredrum.cpp +201 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Drums/synthsnaredrum.h +105 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Dynamics/crossfade.cpp +37 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Dynamics/crossfade.h +86 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Dynamics/limiter.cpp +29 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Dynamics/limiter.h +41 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Effects/autowah.cpp +65 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Effects/autowah.h +60 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Effects/chorus.cpp +187 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Effects/chorus.h +190 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Effects/decimator.cpp +46 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Effects/decimator.h +94 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Effects/flanger.cpp +83 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Effects/flanger.h +83 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Effects/overdrive.cpp +32 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Effects/overdrive.h +54 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Effects/phaser.cpp +138 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Effects/phaser.h +139 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Effects/pitchshifter.h +200 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Effects/sampleratereducer.cpp +43 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Effects/sampleratereducer.h +56 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Effects/tremolo.cpp +36 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Effects/tremolo.h +68 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Effects/wavefolder.cpp +20 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Effects/wavefolder.h +53 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Filters/fir.h +351 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Filters/ladder.cpp +180 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Filters/ladder.h +144 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Filters/onepole.h +110 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Filters/soap.cpp +65 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Filters/soap.h +70 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Filters/svf.cpp +86 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Filters/svf.h +87 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Noise/clockednoise.cpp +59 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Noise/clockednoise.h +66 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Noise/dust.h +62 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Noise/fractal_noise.h +90 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Noise/grainlet.cpp +146 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Noise/grainlet.h +92 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Noise/particle.cpp +95 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Noise/particle.h +92 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Noise/whitenoise.h +54 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/PhysicalModeling/KarplusString.cpp +197 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/PhysicalModeling/KarplusString.h +110 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/PhysicalModeling/drip.cpp +213 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/PhysicalModeling/drip.h +61 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/PhysicalModeling/modalvoice.cpp +109 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/PhysicalModeling/modalvoice.h +99 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/PhysicalModeling/resonator.cpp +158 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/PhysicalModeling/resonator.h +191 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/PhysicalModeling/stringvoice.cpp +124 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/PhysicalModeling/stringvoice.h +102 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Sampling/granularplayer.cpp +79 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Sampling/granularplayer.h +96 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Synthesis/fm2.cpp +65 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Synthesis/fm2.h +73 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Synthesis/formantosc.cpp +96 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Synthesis/formantosc.h +81 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Synthesis/harmonic_osc.h +174 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Synthesis/oscillator.cpp +83 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Synthesis/oscillator.h +125 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Synthesis/oscillatorbank.cpp +147 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Synthesis/oscillatorbank.h +88 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Synthesis/variablesawosc.cpp +106 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Synthesis/variablesawosc.h +80 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Synthesis/variableshapeosc.cpp +182 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Synthesis/variableshapeosc.h +95 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Synthesis/vosim.cpp +81 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Synthesis/vosim.h +82 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Synthesis/zoscillator.cpp +159 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Synthesis/zoscillator.h +84 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Utility/dcblock.cpp +20 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Utility/dcblock.h +37 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Utility/delayline.h +129 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Utility/dsp.h +352 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Utility/looper.h +314 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Utility/maytrig.h +44 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Utility/metro.cpp +30 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Utility/metro.h +54 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Utility/samplehold.h +69 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/Utility/smooth_random.h +85 -0
- pistil_dsp-0.4.0/pistil/vendor/DaisySP/Source/daisysp.h +97 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/LICENSE +21 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/all.h +25 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/audio-buffer.h +37 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/clap.h +64 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/color.h +20 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/entry.h +136 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/events.h +367 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/ambisonic.h +63 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/audio-ports-activation.h +64 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/audio-ports-config.h +109 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/audio-ports.h +116 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/configurable-audio-ports.h +63 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/context-menu.h +167 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/draft/background-activation.h +45 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/draft/background-progress.h +51 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/draft/background-state-context.h +44 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/draft/extensible-audio-ports.h +33 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/draft/flush-events.h +48 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/draft/gain-adjustment-metering.h +34 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/draft/mini-curve-display.h +153 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/draft/octave-number.h +30 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/draft/param-hovered.h +29 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/draft/params-origin.h +61 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/draft/project-location.h +108 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/draft/resource-directory.h +88 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/draft/scratch-memory.h +90 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/draft/transport-control.h +75 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/draft/triggers.h +144 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/draft/tuning.h +76 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/draft/undo.h +201 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/draft/webview.h +77 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/event-registry.h +22 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/gui.h +249 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/latency.h +27 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/log.h +33 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/note-name.h +37 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/note-ports.h +79 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/param-indication.h +77 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/params.h +386 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/posix-fd-support.h +49 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/preset-load.h +53 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/remote-controls.h +83 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/render.h +39 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/state-context.h +72 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/state.h +45 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/surround.h +86 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/tail.h +26 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/thread-check.h +83 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/thread-pool.h +66 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/timer-support.h +31 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/track-info.h +66 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/ext/voice-info.h +56 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/factory/draft/plugin-invalidation.h +47 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/factory/draft/plugin-state-converter.h +99 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/factory/plugin-factory.h +43 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/factory/preset-discovery.h +313 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/fixedpoint.h +16 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/host.h +51 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/id.h +8 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/plugin-features.h +79 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/plugin.h +114 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/private/macros.h +50 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/private/std.h +16 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/process.h +66 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/stream.h +38 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/string-sizes.h +21 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/timestamp.h +11 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/universal-plugin-id.h +26 -0
- pistil_dsp-0.4.0/pistil/vendor/clap/clap/version.h +42 -0
- pistil_dsp-0.4.0/pistil/vendor/miniaudio.h +96949 -0
- pistil_dsp-0.4.0/pistil/vendor/rtmidi/LICENSE +27 -0
- pistil_dsp-0.4.0/pistil/vendor/rtmidi/RtMidi.cpp +9369 -0
- pistil_dsp-0.4.0/pistil/vendor/rtmidi/RtMidi.h +836 -0
- pistil_dsp-0.4.0/pistil_dsp.egg-info/PKG-INFO +77 -0
- pistil_dsp-0.4.0/pistil_dsp.egg-info/SOURCES.txt +276 -0
- pistil_dsp-0.4.0/pistil_dsp.egg-info/dependency_links.txt +1 -0
- pistil_dsp-0.4.0/pistil_dsp.egg-info/entry_points.txt +2 -0
- pistil_dsp-0.4.0/pistil_dsp.egg-info/requires.txt +6 -0
- pistil_dsp-0.4.0/pistil_dsp.egg-info/top_level.txt +1 -0
- pistil_dsp-0.4.0/pyproject.toml +91 -0
- pistil_dsp-0.4.0/setup.cfg +4 -0
- pistil_dsp-0.4.0/tests/test_classes.py +90 -0
- pistil_dsp-0.4.0/tests/test_examples.py +19 -0
- pistil_dsp-0.4.0/tests/test_fast.py +112 -0
- pistil_dsp-0.4.0/tests/test_faults.py +49 -0
pistil_dsp-0.4.0/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 the Pistil authors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: pistil-dsp
|
|
3
|
+
Version: 0.4.0
|
|
4
|
+
Summary: Python-shaped audio programs for the Daisy Seed, the desktop, and audio plugins
|
|
5
|
+
License-Expression: MIT
|
|
6
|
+
Keywords: daisy,daisy-seed,audio,dsp,synthesizer,guitar-pedal,clap,vst3,education,transpiler
|
|
7
|
+
Classifier: Development Status :: 3 - Alpha
|
|
8
|
+
Classifier: Intended Audience :: Education
|
|
9
|
+
Classifier: Intended Audience :: Developers
|
|
10
|
+
Classifier: Topic :: Multimedia :: Sound/Audio
|
|
11
|
+
Classifier: Topic :: Multimedia :: Sound/Audio :: Sound Synthesis
|
|
12
|
+
Classifier: Topic :: Software Development :: Compilers
|
|
13
|
+
Classifier: Topic :: Software Development :: Embedded Systems
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Programming Language :: C++
|
|
16
|
+
Classifier: Operating System :: MacOS
|
|
17
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
18
|
+
Classifier: Operating System :: POSIX :: Linux
|
|
19
|
+
Requires-Python: >=3.9
|
|
20
|
+
Description-Content-Type: text/markdown
|
|
21
|
+
License-File: LICENSE
|
|
22
|
+
License-File: THIRD_PARTY.md
|
|
23
|
+
License-File: pistil/vendor/DaisySP/LICENSE
|
|
24
|
+
License-File: pistil/vendor/clap/LICENSE
|
|
25
|
+
License-File: pistil/vendor/rtmidi/LICENSE
|
|
26
|
+
Provides-Extra: zig
|
|
27
|
+
Requires-Dist: ziglang; extra == "zig"
|
|
28
|
+
Provides-Extra: import
|
|
29
|
+
Requires-Dist: libclang; extra == "import"
|
|
30
|
+
Dynamic: license-file
|
|
31
|
+
|
|
32
|
+
# Pistil
|
|
33
|
+
|
|
34
|
+
**Python-shaped audio programs for the Daisy Seed.** Write a pedal or synth in a
|
|
35
|
+
small, friendly subset of Python. Pistil translates it to readable C++ and runs
|
|
36
|
+
the *same program* in an on-screen simulator (`pistil sim`), as a WAV render
|
|
37
|
+
(`pistil render`), as Daisy Seed firmware (`pistil daisy`), and as a CLAP, VST3
|
|
38
|
+
or AU plugin (`pistil plugin`).
|
|
39
|
+
|
|
40
|
+
```python
|
|
41
|
+
from pistil import *
|
|
42
|
+
|
|
43
|
+
# Fuzz: knob 1 = gain, knob 2 = tone, knob 3 = volume. Footswitch 1 = on/off.
|
|
44
|
+
tone = Svf()
|
|
45
|
+
|
|
46
|
+
def control():
|
|
47
|
+
tone.set_freq(300 + knob(2) * 8000)
|
|
48
|
+
led(1, 1.0 if toggle(1) else 0.0)
|
|
49
|
+
|
|
50
|
+
def process(x):
|
|
51
|
+
if not toggle(1):
|
|
52
|
+
return x
|
|
53
|
+
tone.process(tanh(x * (1 + knob(1) * 99)))
|
|
54
|
+
return tone.low() * knob(3)
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Install
|
|
58
|
+
|
|
59
|
+
You need Python 3.9+ and a desktop C++ compiler:
|
|
60
|
+
|
|
61
|
+
| OS | How |
|
|
62
|
+
|---|---|
|
|
63
|
+
| macOS | `xcode-select --install` |
|
|
64
|
+
| Windows | `pip install ziglang` |
|
|
65
|
+
| Linux | `sudo apt install g++ python3-tk libasound2-dev` |
|
|
66
|
+
|
|
67
|
+
```bash
|
|
68
|
+
pip install pistil-dsp # the command is still `pistil`, and the module is `import pistil`
|
|
69
|
+
pistil doctor # checks your setup and says what's missing
|
|
70
|
+
pistil new my-fuzz --board terrarium
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
Then open `my-fuzz` in VS Code and press Ctrl+Shift+B (Cmd+Shift+B on Mac) to
|
|
74
|
+
start the simulator.
|
|
75
|
+
|
|
76
|
+
Pistil was made for a college course. Your course materials have the full
|
|
77
|
+
manual and the assignments.
|
|
@@ -0,0 +1,576 @@
|
|
|
1
|
+
# Pistil
|
|
2
|
+
|
|
3
|
+
**Python-shaped audio programs for the Daisy Seed.** Write a pedal or synth in a
|
|
4
|
+
small, friendly subset of Python. Pistil translates it to readable C++ and runs
|
|
5
|
+
the *same program*:
|
|
6
|
+
|
|
7
|
+
| Target | Command | What you get |
|
|
8
|
+
|---|---|---|
|
|
9
|
+
| On-screen pedal | `pistil sim` | A window with your board's knobs, switches, footswitches, LEDs and OLED, live audio, reload on save |
|
|
10
|
+
| Audio file | `pistil render` | A WAV file, with clipping / NaN warnings, and a PNG of the screen |
|
|
11
|
+
| Daisy Seed | `pistil daisy` / `pistil flash` | Real firmware (`.bin`), flashed over USB or the Daisy Web Programmer |
|
|
12
|
+
| Plugin | `pistil plugin` | A CLAP plugin (and VST3, plus AU on macOS) for any DAW. Board controls become parameters |
|
|
13
|
+
|
|
14
|
+
You can also convert existing Daisy C++ programs into Pistil with `pistil import`,
|
|
15
|
+
and write Pistil in VS Code or Neovim.
|
|
16
|
+
|
|
17
|
+
<p align="center"><img src="docs/simulator-oled.png" width="320" alt="The Pistil simulator running a Terrarium program with an OLED screen">
|
|
18
|
+
<img src="docs/simulator-pod.png" width="320" alt="The simulator with the Daisy Pod layout"></p>
|
|
19
|
+
|
|
20
|
+
```python
|
|
21
|
+
from pistil import *
|
|
22
|
+
|
|
23
|
+
# Fuzz: knob 1 = gain, knob 2 = tone, knob 3 = volume. Footswitch 1 = on/off.
|
|
24
|
+
tone = Svf()
|
|
25
|
+
|
|
26
|
+
def control():
|
|
27
|
+
tone.set_freq(300 + knob(2) * 8000)
|
|
28
|
+
led(1, 1.0 if toggle(1) else 0.0)
|
|
29
|
+
|
|
30
|
+
def process(x):
|
|
31
|
+
if not toggle(1):
|
|
32
|
+
return x
|
|
33
|
+
tone.process(tanh(x * (1 + knob(1) * 99)))
|
|
34
|
+
return tone.low() * knob(3)
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Beginners get Python syntax, autocomplete, and error messages that explain
|
|
38
|
+
themselves ("terrarium has 6 knobs, numbered 1 to 6; knob(7) doesn't exist",
|
|
39
|
+
"Svf has no method 'lowpass'. Did you mean low?"). Experienced students can run
|
|
40
|
+
`pistil cpp` to see the C++ their code becomes, drop into C++ helpers, and read
|
|
41
|
+
the transpiler, which is about 2,000 lines of Python built on the `ast` module.
|
|
42
|
+
|
|
43
|
+
---
|
|
44
|
+
|
|
45
|
+
## Install
|
|
46
|
+
|
|
47
|
+
You need **Python 3.9+** and an editor: **VS Code** with the Python extension,
|
|
48
|
+
or Neovim (see [Neovim](#neovim)).
|
|
49
|
+
|
|
50
|
+
```bash
|
|
51
|
+
pip install ./pistil # from this folder (or a git URL)
|
|
52
|
+
pip install "./pistil[import]" # ...plus libclang, for `pistil import`
|
|
53
|
+
pistil doctor # checks everything below
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
**A desktop C++ compiler** (for the simulator, WAV rendering and plugins):
|
|
57
|
+
|
|
58
|
+
| OS | How |
|
|
59
|
+
|---|---|
|
|
60
|
+
| macOS | `xcode-select --install` |
|
|
61
|
+
| Windows | `pip install ziglang` |
|
|
62
|
+
| Linux | `sudo apt install g++ python3-tk libasound2-dev` |
|
|
63
|
+
|
|
64
|
+
On Windows, the `ziglang` package is the Zig project's own build of
|
|
65
|
+
Clang/LLVM, with libc++ and the MinGW-w64 Windows headers and libraries.
|
|
66
|
+
`zig c++` is a complete C++ compiler, and `pip` puts it next to Python with no
|
|
67
|
+
installer and no PATH changes. The alternatives (MSVC Build Tools, MSYS2, the
|
|
68
|
+
LLVM installer) each take more steps or gigabytes. Pistil uses the first
|
|
69
|
+
compiler it finds; set `PISTIL_CXX=zig` to always use the `ziglang` one, or
|
|
70
|
+
`PISTIL_CXX`/`PISTIL_CC` to any compiler command. `libasound2-dev` lets the
|
|
71
|
+
Linux simulator see MIDI keyboards.
|
|
72
|
+
|
|
73
|
+
The first build compiles DaisySP and the audio library once (about a minute).
|
|
74
|
+
After that, programs rebuild in 1–2 seconds.
|
|
75
|
+
|
|
76
|
+
**For the Daisy** (only the students flashing hardware): install the
|
|
77
|
+
[Daisy Toolchain](https://github.com/electro-smith/DaisyToolchain) (ARM GCC,
|
|
78
|
+
make, dfu-util), then run `pistil setup` once. It downloads and builds libDaisy
|
|
79
|
+
into `~/.pistil`.
|
|
80
|
+
|
|
81
|
+
## Your first project
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
pistil new my-fuzz --board terrarium
|
|
85
|
+
code my-fuzz
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
Press **Ctrl+Shift+B** (Cmd+Shift+B on Mac) to open the simulator. Edit
|
|
89
|
+
`main.py`, save, and it rebuilds and restarts by itself. Mistakes show up in
|
|
90
|
+
red in the simulator and in VS Code's Problems panel.
|
|
91
|
+
|
|
92
|
+
**Terminal → Run Task…** has everything else:
|
|
93
|
+
|
|
94
|
+
* *Render a WAV file*
|
|
95
|
+
* *Check for mistakes*
|
|
96
|
+
* *Build for the Daisy*
|
|
97
|
+
* *Flash the Daisy (USB / web browser)*
|
|
98
|
+
* *Build a plugin*
|
|
99
|
+
* *Show the C++ code*
|
|
100
|
+
|
|
101
|
+
## Neovim
|
|
102
|
+
|
|
103
|
+
Pistil programs are `.py` files, so Tree-sitter highlighting works as-is. On
|
|
104
|
+
top of that:
|
|
105
|
+
|
|
106
|
+
* **Pyright or basedpyright** gives completion and docs from the stubs pip installs.
|
|
107
|
+
* **`pistil lsp`** reports Pistil's own errors as you type, plus C++ compile errors on save.
|
|
108
|
+
* **A bundled plugin** adds `:PistilSim`, `:PistilRender`, `:PistilCheck` (quickfix),
|
|
109
|
+
`:PistilDaisy`, `:PistilFlash`, `:PistilPlugin`, `:PistilCpp`, keymaps and highlighting.
|
|
110
|
+
|
|
111
|
+
```lua
|
|
112
|
+
-- lazy.nvim
|
|
113
|
+
{
|
|
114
|
+
dir = vim.fn.trim(vim.fn.system("pistil editor-path nvim")),
|
|
115
|
+
ft = "python",
|
|
116
|
+
opts = { keymaps = true },
|
|
117
|
+
config = function(_, opts) require("pistil").setup(opts) end,
|
|
118
|
+
}
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
See [`pistil/editors/nvim/README.md`](pistil/editors/nvim/README.md) for the
|
|
122
|
+
Pyright setup and options. `pistil lsp` is a standard language server, so it
|
|
123
|
+
also works in Helix, Zed, Emacs and other editors.
|
|
124
|
+
|
|
125
|
+
## Command reference
|
|
126
|
+
|
|
127
|
+
```text
|
|
128
|
+
pistil sim [file] [--in audio.wav | --mic] on-screen pedal, live audio
|
|
129
|
+
pistil render [file] [--in f] [--out f] [--seconds S]
|
|
130
|
+
[--knob 1=0.7] [--knob 2=0..1] (sweep over the render)
|
|
131
|
+
[--switch 1=2] [--dip 1=on] [--press 1@0.5] [--hold 2]
|
|
132
|
+
[--turn 1.5=+1] [--screenshot s.png]
|
|
133
|
+
[--note C4@0.5-1.0[:0.8]] [--cc 1=0.5@2] [--bend 0.5@1] [--midi song.mid]
|
|
134
|
+
pistil daisy [file] build firmware (.bin)
|
|
135
|
+
pistil flash [file] [--web] build + flash over USB (or browser)
|
|
136
|
+
pistil plugin [file] [--vst3] [--install] build CLAP (+ VST3/AU), copy to plugin folder
|
|
137
|
+
pistil cpp [file] [--lines] print the generated C++
|
|
138
|
+
pistil check [file] [--compile] look for mistakes
|
|
139
|
+
pistil new DIR [--board B] new project with VS Code tasks
|
|
140
|
+
pistil import prog.cpp [-o DIR] [--board B] convert a Daisy C++ program
|
|
141
|
+
pistil lsp language server (Neovim, Helix, ...)
|
|
142
|
+
pistil editor-path nvim where the Neovim plugin is installed
|
|
143
|
+
pistil boards | setup | doctor [--reset-cache]
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
With no file, commands use the `main` file named in `pistil.json`. The
|
|
147
|
+
`--board` flag overrides the board for one command.
|
|
148
|
+
|
|
149
|
+
---
|
|
150
|
+
|
|
151
|
+
## The language
|
|
152
|
+
|
|
153
|
+
A Pistil program is a Python file that starts with `from pistil import *`. The
|
|
154
|
+
import only gives VS Code autocomplete. Python never runs the file.
|
|
155
|
+
|
|
156
|
+
### Program shape
|
|
157
|
+
|
|
158
|
+
| Function | When it runs | Use it for |
|
|
159
|
+
|---|---|---|
|
|
160
|
+
| `def process(x):` | every sample (48,000/s) | the sound. Return the output sample |
|
|
161
|
+
| `def setup():` | once at start | anything that should happen once |
|
|
162
|
+
| `def control():` | every 48 samples (1,000/s) | reading knobs, setting LEDs, slow maths |
|
|
163
|
+
| `def draw():` | ~30/s, if the board has a screen | drawing on the OLED |
|
|
164
|
+
| `def note_on(note, velocity):` etc. | when MIDI arrives | see [MIDI](#midi) |
|
|
165
|
+
|
|
166
|
+
`process` can take one input (mono pedal), two (`def process(left, right):`)
|
|
167
|
+
or none (a synth). It returns one sample (mono, copied to both outputs) or two
|
|
168
|
+
(`return left, right`).
|
|
169
|
+
|
|
170
|
+
Code at the top level runs once at start-up, in order, so
|
|
171
|
+
`delay_samples = sample_rate * 0.25` works.
|
|
172
|
+
|
|
173
|
+
### Variables and numbers
|
|
174
|
+
|
|
175
|
+
* Variables are created by assigning to them, just like Python.
|
|
176
|
+
* **Numbers are inferred.** A variable is an `int` only if every value ever
|
|
177
|
+
stored in it is a whole number (counters stay exact). Otherwise it's a
|
|
178
|
+
`float`. So `level = 0` followed by `level = knob(1)` just works.
|
|
179
|
+
* `/` always gives a float (like Python), `//` floors, and `%` follows Python
|
|
180
|
+
rules for negative numbers. `**` gives a float.
|
|
181
|
+
* Functions in your program can read and change top-level variables. `global`
|
|
182
|
+
is accepted but not required, which differs from Python on purpose.
|
|
183
|
+
* Function inputs are floats unless you annotate them:
|
|
184
|
+
`def set_voice(v: Oscillator, note: int):`. Objects are passed by
|
|
185
|
+
reference.
|
|
186
|
+
* Annotations work anywhere: `count: int = 0`, `steps: list[int] = [0] * 16`.
|
|
187
|
+
* Lists can be passed into functions with a type: `def fill(seq: list[bool], on: bool):`.
|
|
188
|
+
Like Python, the function changes the caller's list.
|
|
189
|
+
|
|
190
|
+
### Controls
|
|
191
|
+
|
|
192
|
+
Numbers are 1-based, as printed on the board.
|
|
193
|
+
|
|
194
|
+
| Call | Returns |
|
|
195
|
+
|---|---|
|
|
196
|
+
| `knob(n)` | 0.0 … 1.0 |
|
|
197
|
+
| `switch(n)` | 0/1, or 0/1/2 (left/middle/right) for 3-way switches |
|
|
198
|
+
| `dip(n)` | True/False |
|
|
199
|
+
| `footswitch(n)` / `button(n)` | True while held |
|
|
200
|
+
| `pressed(n)` | True once, at the moment it goes down |
|
|
201
|
+
| `toggle(n)` | flips on every press (starts False). Ideal for bypass |
|
|
202
|
+
| `encoder()` | clicks turned since last time (−1, 0, +1) |
|
|
203
|
+
| `encoder_pressed()` / `encoder_held()` | encoder push |
|
|
204
|
+
| `led(n, brightness)` / `led(n, r, g, b)` | set an LED, 0.0 … 1.0 |
|
|
205
|
+
| `sample_rate` | 48000 on the Daisy |
|
|
206
|
+
|
|
207
|
+
Using a control the board doesn't have, like `knob(7)` on a Terrarium, is an
|
|
208
|
+
error you see before anything runs.
|
|
209
|
+
|
|
210
|
+
### The screen (boards with a display)
|
|
211
|
+
|
|
212
|
+
`screen.clear()`, `pixel(x, y)`, `line(x0, y0, x1, y1)`, `rect` / `fill_rect(x, y, w, h)`,
|
|
213
|
+
`circle` / `fill_circle(x, y, r)`, `bar(x, y, w, h, value)`, `text(x, y, "hi")`,
|
|
214
|
+
`screen.width`, `screen.height`. Every drawing call takes an optional final
|
|
215
|
+
`on=False` to erase. Text uses a 6×8 font. Show numbers with f-strings:
|
|
216
|
+
`screen.text(0, 0, f"gain {g:.2f}")`.
|
|
217
|
+
|
|
218
|
+
### DaisySP objects
|
|
219
|
+
|
|
220
|
+
Every [DaisySP](https://github.com/electro-smith/DaisySP) class is available
|
|
221
|
+
(64 of them: oscillators, filters, envelopes, drums, chorus, phaser,
|
|
222
|
+
overdrive…). Pistil changes three things to make them beginner-proof:
|
|
223
|
+
|
|
224
|
+
* **Init is automatic.** `osc = Oscillator()` is ready to use.
|
|
225
|
+
* **Settings go in as names:** `Oscillator(freq=440, amp=0.5, waveform=Oscillator.WAVE_SAW)`
|
|
226
|
+
calls `SetFreq`, `SetAmp` and `SetWaveform` for you.
|
|
227
|
+
* **Methods are snake_case:** `osc.set_freq(220)`, `filt.low()`,
|
|
228
|
+
`chorus.get_left()`. Pistil checks them against DaisySP and suggests fixes.
|
|
229
|
+
|
|
230
|
+
`DelayLine(48000)` or `DelayLine(seconds=2.0)` makes a delay line of fixed
|
|
231
|
+
maximum length. Objects must be created at the top of the program, outside any
|
|
232
|
+
function, so they keep their state between samples.
|
|
233
|
+
|
|
234
|
+
Three more DaisySP patterns are handled for you:
|
|
235
|
+
|
|
236
|
+
* **Methods with pointer outputs** return them:
|
|
237
|
+
`wet_l, wet_r = reverb.process(x, x)` (C++: `Process(in1, in2, &out1, &out2)`).
|
|
238
|
+
* **Objects that need memory** take a size: `looper = Looper(buffer=48000 * 30)`,
|
|
239
|
+
`comb = Comb(buffer=9600)`. Pistil allocates the memory and calls `Init`.
|
|
240
|
+
* **Enums inside classes** work either way: `Looper.Mode.NORMAL` or `Looper.NORMAL`.
|
|
241
|
+
|
|
242
|
+
**More effects (DaisySP-LGPL).** `ReverbSc`, `MoogLadder`, `Tone`, `ATone`,
|
|
243
|
+
`Biquad`, `Compressor`, `Comb`, `Allpass`, `Pluck`, `Bitcrush` and others come
|
|
244
|
+
from DaisySP's LGPL add-on. Turn it on with `"lgpl": true` in `pistil.json`;
|
|
245
|
+
Pistil downloads and builds it once. LGPL-2.1 asks that people can relink
|
|
246
|
+
firmware against a modified library, which is fine for coursework but worth
|
|
247
|
+
knowing before selling a pedal.
|
|
248
|
+
|
|
249
|
+
**Big buffers move to SDRAM automatically.** Any object or list over 16 KB goes
|
|
250
|
+
in the Daisy's 64 MB SDRAM. That includes delay lines, `[0.0] * (48000 * 30)`
|
|
251
|
+
loopers, and DaisySP classes that carry their own buffers (`ReverbSc`, `Phaser`,
|
|
252
|
+
`PitchShifter`, `Chorus`). On the desktop it uses ordinary memory.
|
|
253
|
+
|
|
254
|
+
### Lists, loops, functions
|
|
255
|
+
|
|
256
|
+
```python
|
|
257
|
+
notes = [60, 64, 67, 72] # fixed size
|
|
258
|
+
buf = [0.0] * 1024
|
|
259
|
+
voices = [Oscillator(freq=110 * (i + 1)) for i in range(4)]
|
|
260
|
+
|
|
261
|
+
for v in voices: ...
|
|
262
|
+
for i in range(8): ...
|
|
263
|
+
for i, v in enumerate(voices): ...
|
|
264
|
+
for f in [100, 200, 400]: ...
|
|
265
|
+
|
|
266
|
+
def pan(x, p=0.5):
|
|
267
|
+
return x * (1 - p), x * p # several return values
|
|
268
|
+
left, right = pan(y)
|
|
269
|
+
```
|
|
270
|
+
|
|
271
|
+
Also supported: `if/elif/else`, `while`, `break/continue`, `x if c else y`,
|
|
272
|
+
`and/or/not`, `x in (1, 2, 3)`, negative list indexes, f-strings,
|
|
273
|
+
`print(...)` (desktop console, or the Daisy's USB serial port; rate-limited),
|
|
274
|
+
and `math.` functions.
|
|
275
|
+
|
|
276
|
+
### Classes
|
|
277
|
+
|
|
278
|
+
A class groups the objects and numbers that belong together, such as one voice
|
|
279
|
+
of a synth:
|
|
280
|
+
|
|
281
|
+
```python
|
|
282
|
+
class Voice:
|
|
283
|
+
"""One note: an oscillator shaped by an envelope."""
|
|
284
|
+
LEVEL = 0.3 # class constant
|
|
285
|
+
|
|
286
|
+
def __init__(self, freq=220.0):
|
|
287
|
+
self.osc = Oscillator(freq=freq) # fields are created here
|
|
288
|
+
self.env = Adsr()
|
|
289
|
+
self.gate = False
|
|
290
|
+
|
|
291
|
+
def play(self, note: int):
|
|
292
|
+
self.osc.set_freq(mtof(note))
|
|
293
|
+
self.gate = True
|
|
294
|
+
|
|
295
|
+
def process(self) -> float:
|
|
296
|
+
return self.osc.process() * self.env.process(self.gate) * self.LEVEL
|
|
297
|
+
|
|
298
|
+
voices = [Voice(freq=110.0 * (i + 1)) for i in range(4)]
|
|
299
|
+
lead = Voice()
|
|
300
|
+
|
|
301
|
+
def louder(v: Voice) -> float: # objects can be passed to functions
|
|
302
|
+
return v.process() * 2
|
|
303
|
+
```
|
|
304
|
+
|
|
305
|
+
* **Fields** are whatever `__init__` assigns to `self.something`. Their type comes
|
|
306
|
+
from that first value, as with variables. Assigning a new field in another
|
|
307
|
+
method is an error that tells you to add it to `__init__`.
|
|
308
|
+
* **Inside methods** you can use `knob()`, `led()`, `print()`, `sample_rate`, the
|
|
309
|
+
screen, and your global variables and functions, just as in any other function.
|
|
310
|
+
* **Instances** are created at the top of the program, in lists
|
|
311
|
+
(`[Voice() for _ in range(4)]`), or as fields of other classes. Like other
|
|
312
|
+
objects, they can't be created inside a function.
|
|
313
|
+
* **Compiled code:** each class becomes a plain C++ struct with the same fields and
|
|
314
|
+
methods, with no virtual calls or allocation. `examples/11_class_synth` is the
|
|
315
|
+
example 10 synth rewritten with a `Voice` class, and its output is bit-for-bit
|
|
316
|
+
identical. A class that holds a lot of memory (for example a long `DelayLine`)
|
|
317
|
+
goes to SDRAM on the Daisy automatically.
|
|
318
|
+
* **Not yet:** inheritance, `@staticmethod`/`@property`, and special methods other
|
|
319
|
+
than `__init__`.
|
|
320
|
+
|
|
321
|
+
### Built-in maths
|
|
322
|
+
|
|
323
|
+
`sin cos tan asin acos atan atan2 sinh cosh tanh exp log log2 log10 sqrt floor
|
|
324
|
+
ceil abs round min max sign clamp lerp mtof ftom db_to_gain gain_to_db random pi tau`,
|
|
325
|
+
plus DaisySP helpers such as `soft_clip`, `fmap`, `fclamp`.
|
|
326
|
+
|
|
327
|
+
### Not supported, with reasons
|
|
328
|
+
|
|
329
|
+
| Feature | Why |
|
|
330
|
+
|---|---|
|
|
331
|
+
| Dicts, sets, appending to lists | No memory allocation while audio runs. Lists have a fixed size |
|
|
332
|
+
| Strings beyond literals and f-strings | Same reason |
|
|
333
|
+
| `try` / exceptions | The Daisy has none. Run-time mistakes are reported instead (see above) |
|
|
334
|
+
| Inheritance, special methods (`__add__`...) | Not yet. Plain classes work (see Classes) |
|
|
335
|
+
| `lambda`, generators, `async`, `with`, `match` | Not yet |
|
|
336
|
+
|
|
337
|
+
### Mistakes while the program runs
|
|
338
|
+
|
|
339
|
+
Some mistakes only show up while the sound is running. Python would stop with
|
|
340
|
+
an exception, but audio can't stop, so Pistil reports each one **once**, with its
|
|
341
|
+
line, and carries on with a safe value:
|
|
342
|
+
|
|
343
|
+
| Mistake | What happens |
|
|
344
|
+
|---|---|
|
|
345
|
+
| A list index past the end, like `buf[16]` on a 16-item list | The nearest real item is used. A fixed index like `buf[16]` is caught before anything runs |
|
|
346
|
+
| `x // 0` or `x % 0` | The result is 0 |
|
|
347
|
+
| A `while` loop that runs a million times without finishing | The loop is stopped |
|
|
348
|
+
| The sound stays NaN ("not a number") or infinite for 0.1 s, usually from `x / 0.0` or a filter that blew up | The program is restarted (simulator, render and plugins) |
|
|
349
|
+
|
|
350
|
+
```text
|
|
351
|
+
main.py:12: error: list index 16 is out of range (the list has 16 items: 0 to 15)
|
|
352
|
+
```
|
|
353
|
+
|
|
354
|
+
Negative indexes work as in Python: `buf[i - 1]` with `i == 0` is the last item.
|
|
355
|
+
The messages appear in the simulator, in `pistil render` (which then exits
|
|
356
|
+
with an error), in the DAW's log for plugins, and over USB serial on the Daisy.
|
|
357
|
+
In the simulator and plugins, output that isn't a number (NaN) becomes silence,
|
|
358
|
+
and the output is clipped at ±1.0 like the Daisy's. A NaN usually gets stuck:
|
|
359
|
+
once it's inside a filter or a variable, everything that comes out of it is NaN
|
|
360
|
+
too. That's why Pistil restarts the program, which resets its variables, then
|
|
361
|
+
waits a second before restarting it again.
|
|
362
|
+
|
|
363
|
+
### Going further: C++ helpers
|
|
364
|
+
|
|
365
|
+
Put `fancy_filter.h` next to your program and `import fancy_filter`. Its
|
|
366
|
+
classes and functions can then be used directly. That's the bridge for CS
|
|
367
|
+
students into plain C++ and libDaisy.
|
|
368
|
+
|
|
369
|
+
---
|
|
370
|
+
|
|
371
|
+
## MIDI
|
|
372
|
+
|
|
373
|
+
Define any of these and your program receives MIDI. `velocity` and `value` run
|
|
374
|
+
from 0.0 to 1.0, and `amount` runs from −1.0 to 1.0:
|
|
375
|
+
|
|
376
|
+
```python
|
|
377
|
+
def note_on(note, velocity): ...
|
|
378
|
+
def note_off(note, velocity): ... # (you can leave trailing inputs out)
|
|
379
|
+
def control_change(number, value): ...
|
|
380
|
+
def pitch_bend(amount): ...
|
|
381
|
+
def midi_message(status, data1, data2): # raw bytes, for anything else
|
|
382
|
+
```
|
|
383
|
+
|
|
384
|
+
Send with `send_note_on(note, velocity)`, `send_note_off(note)` and
|
|
385
|
+
`send_cc(number, value)`. See `examples/10_midi_poly_synth` for a 4-voice synth
|
|
386
|
+
with voice stealing.
|
|
387
|
+
|
|
388
|
+
| Where | MIDI comes from / goes to |
|
|
389
|
+
|---|---|
|
|
390
|
+
| Daisy | USB (every Seed is a USB MIDI device), plus the board's MIDI jack: the Pod's TRS input on D14, the Funbox's on D30/D29, or `"midi": {"uart": {"rx": "D14", "tx": "D13"}}` in a board file. When USB carries MIDI, `print()` is turned off on the Daisy |
|
|
391
|
+
| Simulator | Any connected MIDI keyboard, opened automatically. An on-screen piano, with keys A–K and Z/X for octaves, plus velocity and mod-wheel sliders. MIDI out shows in the console |
|
|
392
|
+
| Render | `--note C4@0.5-1.0`, `--cc 1=0.8@2`, `--bend 0.5@1`, or `--midi song.mid`. MIDI out is listed after the render |
|
|
393
|
+
| Plugin | A CLAP note port in and out, timed to within 48 samples |
|
|
394
|
+
|
|
395
|
+
---
|
|
396
|
+
|
|
397
|
+
## Importing existing C++ programs
|
|
398
|
+
|
|
399
|
+
```bash
|
|
400
|
+
pistil import DaisyExamples/pod/MultiEffect/MultiEffect.cpp -o my-effects
|
|
401
|
+
```
|
|
402
|
+
|
|
403
|
+
`pistil import` reads a Daisy C++ program with libclang and writes a Pistil
|
|
404
|
+
project. It converts everything it understands:
|
|
405
|
+
|
|
406
|
+
* **Program pieces:** DaisySP objects, globals, `#define` constants, enums, and
|
|
407
|
+
helper functions (with reference outputs turned into returned values and
|
|
408
|
+
pointer parameters into list parameters).
|
|
409
|
+
* **The audio callback:** split into `control()` (per block) and `process()`
|
|
410
|
+
(per sample). Per-channel loops become a `process_channel()` helper.
|
|
411
|
+
* **Hardware calls:** Pod, Petal, Terrarium, Funbox and bare-Seed calls, mapped
|
|
412
|
+
by pin onto the target board file.
|
|
413
|
+
* **Bare Seed programs:** get a `board.json` generated from the pins they set up.
|
|
414
|
+
* **Knob curves:** libDaisy `Parameter` objects become small functions with the
|
|
415
|
+
same curve.
|
|
416
|
+
* **MIDI handlers:** `switch` on the event type becomes `note_on()` and the
|
|
417
|
+
other hooks.
|
|
418
|
+
* **`switch` statements:** become `if`/`elif`.
|
|
419
|
+
* **Structs and classes:** become Pistil classes. Fields go into `__init__`
|
|
420
|
+
(constructor initializer lists included), methods get `self`, and
|
|
421
|
+
`static constexpr` members become class constants. An `Init(samplerate, ...)`
|
|
422
|
+
method loses its sample-rate input, and is dropped entirely if all it did was
|
|
423
|
+
initialize DaisySP objects. A pointer field such as `DelayLine* del`, aimed at a
|
|
424
|
+
separate buffer, becomes a DelayLine the object owns.
|
|
425
|
+
* **LGPL classes:** turn on `"lgpl"` automatically.
|
|
426
|
+
|
|
427
|
+
Anything it can't convert stays in place as `# TODO(C++): <original code>
|
|
428
|
+
(reason)`, and the program still runs. Lines that depended on it get clearly
|
|
429
|
+
marked placeholders.
|
|
430
|
+
|
|
431
|
+
Tested on 25 programs from Electrosmith's DaisyExamples (Pod, Petal and Seed):
|
|
432
|
+
|
|
433
|
+
* **All stages:** all 25 pass `pistil check`, render audio, and build Daisy firmware.
|
|
434
|
+
* **Fully automatic:** 8 convert with no TODOs, including MultiEffect, CombFilter,
|
|
435
|
+
Distortion, MusicBox and USB_MIDI.
|
|
436
|
+
* **What's left:** 64 TODOs in total (down from 78 before classes). They're mostly
|
|
437
|
+
Petal-only hardware (ring LEDs, the encoder on a Terrarium) and libDaisy
|
|
438
|
+
`Parameter` arrays.
|
|
439
|
+
|
|
440
|
+
---
|
|
441
|
+
|
|
442
|
+
## Boards
|
|
443
|
+
|
|
444
|
+
```text
|
|
445
|
+
$ pistil boards
|
|
446
|
+
funbox GuitarML Funbox: 6 knobs, 3 switches, 4 DIP switches, 2 buttons/footswitches, 2 LEDs, MIDI (mono)
|
|
447
|
+
pod Electrosmith Daisy Pod: 2 knobs, 2 buttons/footswitches, encoder, 2 LEDs, MIDI in (stereo)
|
|
448
|
+
terrarium PedalPCB Terrarium: 6 knobs, 4 switches, 2 buttons/footswitches, 2 LEDs (mono)
|
|
449
|
+
```
|
|
450
|
+
|
|
451
|
+
Pin maps come from PedalPCB's `terrarium.h`, GuitarML's `funbox.h` and
|
|
452
|
+
libDaisy's `daisy_pod.cpp`.
|
|
453
|
+
|
|
454
|
+
**Adding a screen to any board:** put `"display": "oled"` in `pistil.json`.
|
|
455
|
+
That's an SSD1306 128×64 I2C OLED on D11 (SCL) / D12 (SDA). Use `"ssd1306_i2c_128x32"`
|
|
456
|
+
for the short ones.
|
|
457
|
+
|
|
458
|
+
**Custom boards** are a JSON file in the project, set with `"board": "myboard.json"`.
|
|
459
|
+
Start from a preset with `extends`:
|
|
460
|
+
|
|
461
|
+
```json
|
|
462
|
+
{
|
|
463
|
+
"extends": "terrarium",
|
|
464
|
+
"name": "class-pedal-v1",
|
|
465
|
+
"title": "Class Pedal v1",
|
|
466
|
+
"knobs": [{"pin": "D16", "label": "Drive"}, {"pin": "D17", "label": "Tone"},
|
|
467
|
+
{"pin": "D18", "label": "Level"}],
|
|
468
|
+
"switches": [{"pin": "D10"}, {"pins": ["D9", "D8"], "label": "Mode"}],
|
|
469
|
+
"buttons": [{"pin": "D25", "label": "Bypass"}],
|
|
470
|
+
"leds": [{"pin": "D22"}, {"pins": ["D20", "D19", "D18"], "invert": true}],
|
|
471
|
+
"encoder": {"a": "D26", "b": "D27", "click": "D13"},
|
|
472
|
+
"display": "oled",
|
|
473
|
+
"audio": "mono"
|
|
474
|
+
}
|
|
475
|
+
```
|
|
476
|
+
|
|
477
|
+
Each control can be wired as follows:
|
|
478
|
+
|
|
479
|
+
* **Knobs** must be on an analog pin (D15–D25, D28 = A0–A11).
|
|
480
|
+
* **Two-pin switches** are read as 3-way (0/1/2).
|
|
481
|
+
* **Three-pin LEDs** are RGB.
|
|
482
|
+
|
|
483
|
+
Pistil checks for double-used pins and non-analog knob pins. The board file
|
|
484
|
+
drives the firmware, the simulator layout, the plugin parameters, and the
|
|
485
|
+
compile-time checks on `knob(n)` and friends.
|
|
486
|
+
|
|
487
|
+
## Targets in detail
|
|
488
|
+
|
|
489
|
+
**Simulator.** The window loops a built-in plucked guitar riff, an audio file,
|
|
490
|
+
or your microphone/interface. Saving the `.py` file rebuilds it. If the new
|
|
491
|
+
version has a mistake, the old one keeps playing and the error shows in red.
|
|
492
|
+
The CPU figure is for your computer, not the Daisy.
|
|
493
|
+
|
|
494
|
+
**Render.** Renders are deterministic, so they're good for grading and testing.
|
|
495
|
+
The `--knob 1=0..1` sweep and `--press 1@0.5` events script the controls. The
|
|
496
|
+
output is 16-bit WAV, clipped like the hardware would clip, with warnings for
|
|
497
|
+
clipping, NaNs and silence.
|
|
498
|
+
|
|
499
|
+
**Daisy.** Pistil generates a `main.cpp` for the board: ADC knobs, debounced
|
|
500
|
+
switches, PWM LEDs, encoder, OLED, and a 48-sample audio block at 48 kHz on a
|
|
501
|
+
480 MHz CPU. It then runs libDaisy's Makefile. Each build prints flash and RAM
|
|
502
|
+
use. The examples use 62–85% of the 128 KB internal flash. Larger programs can
|
|
503
|
+
add `"memory": "bootloader"` to `pistil.json` to use the Daisy bootloader
|
|
504
|
+
(~480 KB). `pistil flash` installs the bootloader the first time.
|
|
505
|
+
|
|
506
|
+
**Plugins.** Every knob, switch, DIP and footswitch becomes an automatable
|
|
507
|
+
parameter, named from the board's labels. Clicking a footswitch parameter counts
|
|
508
|
+
as one press, so `toggle()` bypass works in a DAW. Mono-in programs are
|
|
509
|
+
effects, and programs whose `process()` takes no input are instruments.
|
|
510
|
+
`--vst3` uses [clap-wrapper](https://github.com/free-audio/clap-wrapper) and
|
|
511
|
+
needs CMake and git; the first build downloads the VST3 SDK. There's no custom
|
|
512
|
+
GUI yet: hosts show their generic parameter view.
|
|
513
|
+
|
|
514
|
+
## How it works (for the CS students)
|
|
515
|
+
|
|
516
|
+
```text
|
|
517
|
+
main.py ──ast.parse──▶ checks + type inference ──▶ pistil_app.h (struct PistilApp : AppBase)
|
|
518
|
+
│
|
|
519
|
+
┌───────────────────────┬─────────────────┼────────────────────┐
|
|
520
|
+
desktop_main.cpp daisy main.cpp clap_main.cpp clap-wrapper
|
|
521
|
+
(miniaudio, sim, WAV) (generated from board) (CLAP plugin) (VST3/AU)
|
|
522
|
+
```
|
|
523
|
+
|
|
524
|
+
* `pistil/transpile.py` parses with Python's own `ast`, infers int/float/object
|
|
525
|
+
types, maps snake_case onto DaisySP's CamelCase using `dsp_api.json`
|
|
526
|
+
(generated from the DaisySP headers by `tools/gen_dsp_api.py`), and emits one
|
|
527
|
+
C++ struct. Your globals become members, your functions become methods, and
|
|
528
|
+
your classes become nested structs that hold a pointer back to it.
|
|
529
|
+
`#line` directives make C++ compiler errors point at your `.py` lines.
|
|
530
|
+
* `pistil/runtime/pistil.h` is the whole runtime: controls, LEDs, screen and
|
|
531
|
+
font, Python-style `%` and `//`, f-string formatting, auto-Init, and the
|
|
532
|
+
`Big<T>` SDRAM allocator.
|
|
533
|
+
* Each target is a small host that feeds the struct audio in 48-sample blocks.
|
|
534
|
+
That's why a program behaves the same in the simulator, the WAV, the plugin
|
|
535
|
+
and the pedal.
|
|
536
|
+
|
|
537
|
+
## Testing
|
|
538
|
+
|
|
539
|
+
```bash
|
|
540
|
+
uv sync # dev environment (or: pip install -e ".[import]" pytest ruff)
|
|
541
|
+
uv run ruff check . # lint (real errors + Python 3.9 syntax)
|
|
542
|
+
uv run pytest -m "not slow" # ~1 s: transpile everything, error messages, generated files
|
|
543
|
+
uv run pytest # + compile every example → render + CLAP
|
|
544
|
+
uv run pytest -m slow --daisy # + Daisy firmware (ARM toolchain, `pistil setup`)
|
|
545
|
+
python tests/import_examples.py path/to/DaisyExamples --daisy # pistil import on 25 real programs
|
|
546
|
+
```
|
|
547
|
+
|
|
548
|
+
Contributors (and coding agents) should read [`AGENTS.md`](AGENTS.md) first.
|
|
549
|
+
|
|
550
|
+
`tests/clap_host_test.cpp` is a minimal CLAP host used to check that plugin
|
|
551
|
+
output matches `pistil render` sample for sample.
|
|
552
|
+
|
|
553
|
+
## Status
|
|
554
|
+
|
|
555
|
+
Version 0.4, a working prototype. Tested on Linux:
|
|
556
|
+
|
|
557
|
+
* desktop rendering, and the simulator under a virtual display
|
|
558
|
+
* Daisy firmware builds for all three boards
|
|
559
|
+
* CLAP plugins in a test host, including MIDI
|
|
560
|
+
* VST3 through Steinberg's validator (47/47 passed)
|
|
561
|
+
* the language server in headless Neovim
|
|
562
|
+
* `pistil import` on 25 DaisyExamples
|
|
563
|
+
|
|
564
|
+
The Windows desktop engine and plugin cross-compile and link with `zig c++`,
|
|
565
|
+
which caught and fixed a real MinGW `M_E` portability bug.
|
|
566
|
+
|
|
567
|
+
Not yet tested:
|
|
568
|
+
|
|
569
|
+
* running on real macOS or Windows machines
|
|
570
|
+
* flashing and running on hardware
|
|
571
|
+
* the simulator with a real sound card or MIDI keyboard
|
|
572
|
+
|
|
573
|
+
Next up: safety and real-hardware testing, a PyPI release and VS Code
|
|
574
|
+
extension, and a live-coding playground plugin. See [`ROADMAP.md`](ROADMAP.md).
|
|
575
|
+
|
|
576
|
+
See `THIRD_PARTY.md` for bundled code and licenses.
|