-
... n they are assigned to the space: at, put, localPut, removeAt. This is done for example in LazyEnvir and ProxySpace . EnvironmentRedirect implements some of the interface of Environment , which it can replace where needed: *push, *pop, push ...
-
... n-positive to positive FreeSelf.kr(in) in - input signal see also: PauseSelf // example ( SynthDef ( \freeSelf_help , { |out, t_trig| FreeSelf .kr(t_trig); Out .ar(out, SinOsc .ar(400,0,0.2)); }).send(s); ) a = Synth ( \freeSelf_help ); a.s ...
-
... /////////////////////////////////////////////////////////////////////////// For example, compare { SinOsc .ar(500, 0, 0.5) }.scope; to { SinOsc .ar(500, 0, 0.5).distort }.scope; The .distort message modulates the SinOsc to create more parti ...
-
... not yet implemented *getcwd POSIX standard 'get current working directory'. // example; File .getcwd *use(function) open the file, evaluate the function with the file and close it. readAllString Reads the entire file as a String. readAllSt ...
-
... rself? You use its 'new' method. Let's compare a by now familiar Function based example, and make an equivalent SynthDef. Like Function, SynthDef also has a convenient play method, so we can easily confirm that these two are equivalent. //f ...
-
... repeat pattern four times b = a.asStream; 16.do({ b.next.postln; }); ) // sound example ( SynthDef ( \help_sinegrain , { arg out=0, freq=440, sustain=0.05; var env; env = EnvGen .kr( Env .perc(0.01, sustain, 0.2), doneAction:2); Out .ar(out ...
-
... or any other ugen structurally related: Pbrown , BrownNoise see also: Demand // example // Dbrown ( { var a, freq, trig; a = Dbrown (0, 15, 1, inf ); trig = Impulse .kr( MouseX .kr(1, 40, 1)); freq = Demand .kr(trig, 0, a) * 30 + 340; SinOs ...
-
... es that flag when it is set to track a particular UGen. src - UGen to monitor //example ( SynthDef ( "Done-help" , { arg out, t_trig; var line, a, b; line= Line .kr(1,0,1); a= SinOsc .ar(440,0,0.1*line); //sound fading out b= WhiteNoise .ar ...
-
... se correspond to the first audio busses, with outputs coming before inputs. For example, if we imagine a server with two output channels and two input channels (i.e. stereo in and out) then the first two audio busses (index 0 and index 1) w ...
-
... p ] for functions that are evaluated every time the ClassLibrary is recompiled. Examples SomeStartClass { *initClass { ApplicationStart .add { // something to do when the app has been launched... } } } // or... SomeStartClass { *initClass { ...