Play two C-major scales, starting on different beats

This commit is contained in:
Dan Buch 2015-12-30 14:56:28 -05:00
parent 5d507f94a7
commit f06d627578

View File

@ -885,3 +885,35 @@
t.stop; t.stop;
) )
// }------------------------------------------------------------------------- // }-------------------------------------------------------------------------
// {-------------------------------------------------------------------------
(
f = {
Task({
loop {
[60, 62, 64, 65, 67, 69, 71, 72].do({
|midi|
Synth(
\singrain,
[
freq: midi.midicps,
amp: 0.2,
sustain: 0.1
]
);
0.25.wait;
});
}
});
};
t = f.value.play(quant: 4);
u = f.value.play(quant: [4, 0.5]);
)
(
t.stop;
u.stop;
)
// }-------------------------------------------------------------------------