musique/examples/noises.mq

22 lines
384 B
Plaintext
Raw Permalink Normal View History

hand1_pool := (
chord g#3 g4,
chord d#3 d4,
chord g3 g#4,
chord d3 d#4,
),
hand2_pool := (d8, d#8, g8, g#8, d9, d#9),
for (up 10) (
hand1_length := pick (hn, dhn),
2022-10-28 16:25:48 +02:00
say hand1_length,
hand1 := (set_len hand1_length (pick hand1_pool)),
hand2 := (),
2022-10-28 16:25:48 +02:00
while (duration hand2 != hand1_length) (
hand2 = flat hand2 (set_len (1/64) (pick hand2_pool)),
),
sim hand1 hand2,
),