-
... ransient response times, but may introduce amplitude modulation artifacts. ( // example signal to process Synth .play({ var z; z = Decay2 .ar( Impulse .ar(8, LFSaw .kr(0.25, -0.6, 0.7)), 0.001, 0.3, FSinOsc .ar(500)); }, 0.8) ) ( Synth .pla ...
-
... he device in discovery mode. *all Returns an Array with all WiiMote devices. // Example to start up: WiiMote .start; // start the eventloop WiiMote .discover; // discover a new device WiiMote .all; // post an array of all devices // cleanup ...
-
... trol key set is "tempo" otherwise TempoBusClock works just like a TempoClock // example ( a = { |tempo=1| Ringz .ar( Impulse .ar(tempo), [501, 500], 1/tempo) }.play; t = TempoBusClock (a); Task { loop { "klink" .postln; 1.wait } }.play(t); ...
-
... on_() to set a function to be performed on pressing the mouse (see SCView , and examples below). If the drag contains a number, then valueAction_() is performed using the currentDrag . If the drag contains anything else, action ist set to t ...
-
... erators have the same level of precedence and associate from left to right. For example, the expression: a * b + c * d is equivalent to: ((a * b) + c) * d and not: (a * b) + (c * d) Therefore it is usually better style to fully parenthesize ...
-
... - default is 0.025 lastVal the previous value that a control has set - see last examples. mapped a flag whether val is mapped (within the range of param.asSpec) or unmapped (0.0-1.0) spec a ControlSpec can be passed in. if nil, param.asSpec ...
-
... the entire Pspawn; for the parent stream, it should be inside Pspawn. (See the examples below.) Creation *new(pattern, spawnProtoEvent) pattern: An event pattern (typically Pbind) encapsulating the desired spawning behavior. Parameters in ...
-
... ( \freq , 108)); 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 ...
-
... .3, b]); t = c.asStream; 20.do({ t.next( Event .default).postln; }); ) // sound example ( var a, b; a = Pbind ( \note , Pseq ([7, 4, 0], 4), \dur , Pseq ([1, 0.5, 1.5], inf )); b = Pbind ( \note , Pseq ([5, 10, 12], 4), \dur , 1); Ptpar ([ ...
-
... this directory will overide the files placed in the standalone application. For example if you wanted to create your own version of Array.sc you would need to create the following path (creating folders where necessary): Standalone Resource ...