MIDI Processors
- Docs: https://manual.ardour.org/lua-scripting/#DSP%20Scripts
- API: https://manual.ardour.org/lua-scripting/class_reference/#ARDOUR:MidiBuffer
- dsp_run_map seems to be the more performant API metod
MIDI Note Repeat / Delay
- Existing scripts to check:
MIDI Note Randomizer
- Input Params: target range of notes
- Input data: DSP MIDI data (i.e. Lua DSP Processor)
- Output data: DSP MIDI data with notes mapped randomly to target range
- Might be based on: https://github.com/Ardour/ardour/blob/master/share/scripts/midi_remap.lua