-
... r(in, offset) in - input signal offset - sample offset within control period // example ( { var trig = Impulse .kr(MouseX.kr(1, 100, 1)); Ringz .ar(T2A.ar(trig), 800, 0.01) * 0.4 }.play; ) // compare with K2A ( { var trig = Impulse .kr(200) ...
-
... ever plays the same value twice, whereas Drand chooses any value in the list // example ( { var a, freq, trig; a = Drand ([1, 3, 2, 7, 8], inf ); trig = Impulse .kr( MouseX .kr(1, 400, 1)); freq = Demand .kr(trig, 0, a) * 30 + 340; SinOsc . ...
-
... Pgroup(...).play(protoEvent: Event.default.put(\groupReleaseTime, releaseLag)); Example: ( var p, q, r, o; p = Pbind ( \degree , Prand ((0..7),12), \dur , 0.3, \legato , 0.2); Pgroup (p).play; // post the node structure: fork { s.queryAllNo ...
-
... adapts and suppresses the offset { LeakDC .ar( DC .ar(0.5))}.play; //For these examples, you might want to boot the internal server Server .default =s = Server .internal; s.boot; s.scope
-
... alternate between different behaviors, either in a predictable order as in the example below, or randomly by using one of the random-order list patterns. // Scale segments, in the sequence: up, up, down (repeat) ( TempoClock .default.tempo ...
-
... h input thing on the gamepad and use the first two numbers posted as indexes // example output of debug: [ 3, 2, 0.49803921568627, nil ] // as a result of moving the y-axis of the right joystick. // so we create this slot: b.add( \ry , [3,2 ...
-
... defMixer ( \trala ); // fails, no such server proxyspace Return the proxyspace. Example n = NdefMixer (s); // for the default server // make a new proxy ( Ndef ( \a , { Pan2 .ar( Ringz .ar( Impulse .ar(exprand(0.5, 4)), exprand(300, 3000), ...
-
... will be ignored for enclosed views. See SCScrollTopView . The default is false. Examples ///// simple example w = SCWindow .new( "Parent" ).front; // make a window ( // now attach a sheet x = SCModalSheet .new(w, 380@70); SCButton (x, Rect ...
-
... uments can themselves be Pattern s. repeats specifies the number of repeats. // example ( SynthDef ( \help_pindex , { | out, amp=0.1, freq=440, gate=1 | var son = Saw .ar(freq * [0.99, 1, 1.01]).mean; son = son * EnvGen .ar( Env .adsr, gate ...
-
... which acts as a source a source for drag and drop. See SCDragView for usage and examples, and SCView for a general description of the drag and drop mechanism. Creation / Class Methods *new (parent, bounds) parent - The parent view. bounds - ...