musique/examples/random-rythm.mq

7 lines
127 B
Plaintext
Raw Normal View History

for (up 10) ( n |
snd := c + (shuffle (up 12)).0;
oct := if (n % 2 == 0) (| 3 ) (| 4 );
say snd oct;
play (snd oct qn);
);