MIDI → Strudel
midi_to_strudelConvert MIDI note events into Strudel mini-notation patterns, quantized to a step grid, forming chords for simultaneous notes, rests for gaps, and elongation for held notes.
Instructions
Convert MIDI note events (pitch + start/duration in beats) into Strudel mini-notation text, quantized to a step grid. Simultaneous notes become [a,b] chords; gaps become ~ rests; held notes use @ elongation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bars | No | ||
| conv | No | Octave convention: strudel (c5=60) or scientific (c4=60) | strudel |
| grid | No | steps per bar | |
| notes | Yes | note events | |
| octaveOffset | No |