// ProxySpace
s.boot;
ProxySpace.push;
~sound.play;
~sound = {arg freq=200; Impulse.ar(freq).lag(0.001)};
~sound = {arg freq=200; SinOsc.ar(freq)};
~sound.fadeTime = 3;
// un proxy
// it is a suitable placeholder (some kind of box which fits in an environment)
~prox.ar(2);
~prox.dump;
~prox.bus;
s.options.dump
// what it does
~sound = ~noize;
~sound.scope
ProxyMixer(p);
(
Task({
100.do({
~sound.set(\freq, 300+200.rand);
0.2.wait;
});
}).play;
)
~noize = {BrownNoise.ar([0.2, 0.2])};
~noize.play;
~otto
q = (); // initialization
q.dump;
q.put(\otto, 123);
q.gamelan = ()
q.gamelan.notes = [1,2,3];
q.blip = {Env.perc.test}; // method test exists for all the enveloppes
// evaluation of a function in dictionary
q.blip
or
q.blip.value
q.at(\blip)
Env.perc.plot
q.blip = {{Blip.ar * XLine.kr(1,0.01,0.2, doneAction:2)}.play};
q.blip
q.blipfreq = 50;
(
q.blip = { |dict| dict.postln;
{Blip.ar(dict.blipfreq)*XLine.kr(1, 0.01, 0.2, doneAction: 2)}.play};
)
q.blipfreq=1000;q.blip(10)
(
q.blip = { |self|
{Blip.ar(self.blipfreq)*XLine.kr(1, 0.01, 0.2, doneAction: 2)}.play};
)
(
q.blip = { |self, a|
{Blip.ar(self.bli)*XLine.kr(1, 0.01, a, doneAction: 2)}.play};
)
q.dump
q.asCompileString
( 'blip': { |self, a|
a.postln;
{Blip.ar(self.blipfreq)*XLine.kr(1, 0.01, 0.2, doneAction: 2)}.play}, 'otto': 123, 'blipfreq': 1000, 'gamelan': ( 'notes': [ 1, 2, 3 ] ) )
(
q.blip5 = {
var freqs = Pseq([54, 67, 86, 102, 99], 5).asStream;
Task {
25.do {
q.blipfreq = freqs.next.postln;
q.blip(0.3);
0.2.wait;
}
}.play;
}
)
q.blip5;
There are no comments on this page. [Add comment]