Worked through getting started 07

This commit is contained in:
Dan Buch 2015-10-21 13:47:04 -04:00
parent 6db4b3915f
commit 0aa5fa799e

View File

@ -31,3 +31,45 @@
Pan2.ar(PinkNoise.ar(0.2), -0.3); Pan2.ar(PinkNoise.ar(0.2), -0.3);
}.play; }.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;
)