More goofing with Getting Started 11

This commit is contained in:
Dan Buch 2015-10-24 13:11:53 -04:00
parent 2ba1bb8309
commit 6459575711

View File

@ -388,3 +388,39 @@
y.set(\direct, 0); y.set(\direct, 0);
z.set(\direct, 0); z.set(\direct, 0);
) )
(
b = Bus.control(s, 1);
b.set(880);
c = Bus.control(s, 1);
c.set(884);
x = SynthDef(
"tutorial-map",
{
|freq1 = 440, freq2 = 440|
Out.ar(0, SinOsc.ar([freq1, freq2], 0, 0.2));
}
).play(s);
// x.map(\freq1, b, \freq2, c);
/*
y = {
Out.kr(b, SinOsc.kr(1, 0, 50, 880));
}.play(addAction: \addToHead);
*/
// y.free;
// b.get({ |val| val.postln; f = val; });
// x.set(\freq2, f / 2);
// c.set(200);
// x.free;
// b.free;
// c.free;
)