-
... roxy space, which can be done if all functions used are closed functions. // an example how ProxySpace can document its current state: p = ProxySpace .push(s); ( ~ctl1 = { var z = 1; 4.do { |i| z = z * SinOsc .kr(i.sqrt, i+[0,0.2]) }; z }; ...
-
... s formally represented as separate input and output devices. On the MacBook for example, there are two input devices (named Built-in Microphone and Built-in Input) and a mutable output device (Built-in Output which appears unter the names L ...
-
... ord, etc. can function without running into order of execution problems. In the example below the scoping node will come after the default group. Server .internal.boot; { SinOsc .ar(mul: 0.2) }.scope(1); // watch the post window; Server .in ...
-
... ital Structure of the Moog VCF . In Proc. ICMC07, Copenhagen, 25-31 August 2007 Examples s.boot; // Play it with the mouse... x = { MoogFF .ar( WhiteNoise .ar(01.1), MouseY .kr(100, 10000, 1), MouseX .kr(0, 4)) }.play(s); x.free; // Mmmm, t ...
-
... d, Pmul, Pset, Pstretch There is a simpler way to write the modal transposition example given in part 5. In fact the earlier examples are setting the values of mtranspose and ctranspose which is not the best way to change those variables, b ...
-
... ton instance of Main is available through the special keyword thisProcess . For example, to find out what platform you're on: thisProcess .platform; // --> e.g. "an OSXPlatform", "a LinuxPlatform", ... startup called after the class library ...
-
... n. When crossing from nonpositive to positive, it resets the first argument. // example ( { var a, freq; a = Dreset ( Dseries (0, 2, inf ), Drand ([0, 0, 0, 1], inf )); freq = Duty .kr(1/ MouseX .kr(1, 40, 1), 0, a) * 30 + 340; SinOsc .ar(f ...
-
... monitor for silence. This UGen outputs 1 if silence is detected, otherwise 0. //example ( SynthDef ( "detectSilence-help" , { arg out; var z; z = SinOsc.ar(Rand(400, 700), 0, LFNoise2.kr(8, 0.2).max(0)); DetectSilence.ar(z, doneAction:2); O ...
-
... , and 100 frames b.free; // free the memory (when you're finished using it) The example above allocates a 2 channel buffer with 100 frames. The actual number of values stored is numChannels * numFrames, so in this case there will be 200 flo ...
-
... ( \dur , 0.5)); x = a.asStream; 9.do({ x.next( Event .new).postln; }); ) sound example ( SynthDef ( \sinegrain , { arg out=0, freq=440, sustain=0.02; var env; env = EnvGen .kr( Env .perc(0.001, sustain), 1, doneAction:2); Out .ar(out, SinO ...