-
... .ar(freq, index), pan ) * EnvGen.ar(Env.perc(0.01, dur), doneAction: 2); Out.ar(0, sig); }).add; ) ( Pbind(*[ dur: Pseq([1.2, 0.2, 0.5, Pseries(0.1, -0.001, 100)], inf), pan: Pxrand(#[-0.5, 0.5, 0.1, -0.1, 0.8, -1], inf), ...
-
... te //some symbols have been used from the Mac character viewer - yet to find out if these are Windows compatible //haven't been on SC too long but thought it might be fun for others to play around with too //it is a work in progress ...
-
... attack 0, sustain nil, release 0 will play the soundfile in its full length without an envelope. release In seconds. amp Amplitude. out Sets outbus and defaults to 0. group If nil it will use Server.defaultGroup. loop Should be either 0 (de ...
-
... ass Methods Inherited class methods Instance Methods . fadeTime Time to fade in/out. The default is 0.02 seconds. Inherited instance methods Examples ( s.waitForBoot{ RedMst.clear; RedMst.clock= TempoClock(120/60); RedMst.quant= 2; //relati ...
-
... This method converts the settings to values between 0 and 255 which can be sent out as bytes to the device. Called by DMXDevice:sendDMX. maxchannels_ maxchannels Maximum index of channels (default 512) channeloffset_ channeloffset Index of ...
-
... (see Klank for an example). Refs can also be used to simplify the coding of co-routines used in EventStreams (see Prout for an example). x = Ref(nil); z = obj.method(x); // method puts something in reference x.value.doSomething; // retrieve ...
-
... modulates the frequency of the audio rate Pulse wave. ( SynthDef("anExample", { Out.ar( 0, Pulse.ar( [220, 221.5] + SinOsc.kr([7, 8], 0, 7), // the control rate conserves CPU cycles 0.35, 0.02 ) ) }).add; ) Synth("anExample") ⧉ ✔ Type comma ...
-
... od idea to make sure you follow conventions for argument names, such as "freq" "out" "gate" where relevant.
-
... eq: In.kr(freq), mul: In.kr(amp), rq: In.kr(q) ); Out.ar(0, signal ! 2) }).add; SynthDef(\line, { arg start, end, dur, bus; var env = Env([start, end], [dur]); var signal = EnvGen.kr(env, doneActi ...
-
... .dup(1000000); a[551] = 77; a[8722] = \foo; }.bench ) // Now a SparseArray made out of exactly the same data ( { b = SparseArray.newClear(a.size, 10); b[551] = 77; b[8722] = \foo; }.bench ) // Alternatively you could make the SparseArray ou ...