Strudel → MIDI
strudel_to_midiConvert Strudel mini-notation patterns into MIDI note events. Supports sequences, subdivisions, rests, alternation, chords, polyphony, and euclidean rhythms.
Instructions
Convert a Strudel mini-notation pattern into MIDI note events. Supports sequences, [subdivisions], ~ rests, , *repeat, @elongation, [a,b] chords, {poly}%n, and euclid(p,s,rot). Returns note events with pitch and start/duration in beats, plus total length in beats.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bars | No | bars per cycle | |
| conv | No | Octave convention: strudel (c5=60) or scientific (c4=60) | strudel |
| cycles | No | ||
| pattern | Yes | e.g. "c5 [e5 g5]*2 ~ <a5 b5>" | |
| velocity | No | ||
| octaveOffset | No |