Orca's T (track) operator sequences melody by indexing into a character string
The T (track) operator reads a note from a sequence string at a given index position: T(key len val). Example: 04TCAFE creates a 4-step track over the characters C, A, F, E and outputs the character at position 0 (C). To play through the sequence, a clock or counter drives the key input. Combining a C (clock) operator with T creates a looping melody: the clock counts 0→3→0→… and T outputs successive notes. Track length and the clock modulus must match for clean looping. The output character feeds directly into the note field of the : MIDI operator.
Examples
D8.8C4. .D804TCAFE ..:03C… → 4-note loop C-A-F-E at 1/8 speed
Assessment
How would you modify a 4-note track to play 6 notes? What two values must change, and why?