Play two C-major scales, starting on different beats
This commit is contained in:
parent
5d507f94a7
commit
f06d627578
@ -885,3 +885,35 @@
|
||||
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;
|
||||
)
|
||||
// }-------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user