I’m trying to run a sequence of notes in a sequence of modes. I want start with the first mode, play through the note sequence, then repeat the pattern with next mode.
This seems like it should be simple, but I can’t figure out how to do it.
Pchain shown below is the latest failure. This seems basic. I’m asking for help before delving into environment variables and Pgate.
(
// modal transposition
var notes, modes;
modes = Pseq( [0,1,2,3], 1);
notes = Pseq( [0,1,2,3,4,5,6,7], 1);
Pn(
Pchain( Pbind(\mtranspose, modes ) ,Pbind(
\dur, 0.15,
\mtranspose, 0,
\degree, notes,
\legato, 0.5
)
),inf).play
)
Maybe Ndef’s as a sub pattern?