You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
290 B
32 lines
290 B
9 years ago
|
{
|
||
|
[
|
||
|
SinOsc.ar(440, 0, 0.2),
|
||
|
SinOsc.ar(442, 0, 0.2)
|
||
|
]
|
||
|
}.play;
|
||
|
|
||
|
f = {
|
||
|
"Function evaluated".postln;
|
||
|
2 + 3;
|
||
|
};
|
||
|
|
||
|
f.value;
|
||
|
f.value;
|
||
|
f.value;
|
||
|
|
||
|
f = 3;
|
||
|
f.value;
|
||
|
f.value;
|
||
|
|
||
|
f = { 3.0.rand; };
|
||
|
f.value;
|
||
|
|
||
|
f = { |a| a.value + 3 };
|
||
|
f.value(4);
|
||
|
|
||
|
g = { 3.0.rand; };
|
||
|
|
||
|
f.value(g);
|
||
|
f.value(g);
|
||
|
|
||
|
f.value;
|