Worked through getting started 07
This commit is contained in:
parent
6db4b3915f
commit
0aa5fa799e
@ -31,3 +31,45 @@
|
||||
Pan2.ar(PinkNoise.ar(0.2), -0.3);
|
||||
}.play;
|
||||
)
|
||||
|
||||
(
|
||||
{
|
||||
PinkNoise.ar(0.2) + SinOsc.ar([440, 442], 0, 0.2) + Saw.ar([660, 662], 0.2);
|
||||
}.play;
|
||||
)
|
||||
|
||||
(
|
||||
{
|
||||
var a, b;
|
||||
a = [
|
||||
SinOsc.ar(440, 0, 0.2),
|
||||
Saw.ar(662, 0.2)
|
||||
];
|
||||
b = [
|
||||
SinOsc.ar(442, 0, 0.2),
|
||||
Saw.ar(660, 0.2)
|
||||
];
|
||||
|
||||
Mix([a, b]).postln;
|
||||
}.play;
|
||||
)
|
||||
|
||||
(
|
||||
var n = 8;
|
||||
{
|
||||
Mix.fill(n, { SinOsc.ar([220, 500 + 500.0.rand], 0, 1 / n) });
|
||||
}.play;
|
||||
)
|
||||
|
||||
(
|
||||
var n = 8;
|
||||
{
|
||||
Mix.fill(n, { |index|
|
||||
var freq;
|
||||
index.postln;
|
||||
freq = 440 + index;
|
||||
freq.postln;
|
||||
SinOsc.ar(freq, 0, 1 / n)
|
||||
});
|
||||
}.play;
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user