-
... to do this: ( SynthDef ( "help-multichannel FFT" , { arg out=0; // bufnum is an array var in, chain; in = [ SinOsc .ar(200, 0, 0.2), WhiteNoise .ar(0.2)]; chain = FFT ( LocalBuf ([2048, 2048]), in); // each FFT has a different buffer // now ...
-
... primitive calls. HIDDevice only stores information about a device and holds an array of HIDElements, which store information about the controllers of the device. A HIDDevice's information consists out of: the manufacturer, the product, the ...
-
... synth Inherits from: Object : AbstractFunction : UGen : AbstractOut *ar(channelsArray) - write a signal to an audio bus local to the enclosing synth. *kr(channelsArray) - write a signal to a control bus local to the enclosing synth. channel ...
-
... d: Pseg Pstep(levels, durs, repeats) Levelpattern can return individual values, arrays, or events. The value returned by levelpattern is returned for the duration returned by durpattern. Pstep is good for representing chord progressions, sc ...
-
... \bassTriadNotes )) div: 7 * 7 + Pkey ( \bassTriadNotes ), // add topNote to the array if not already there \degree , Pfunc { |ev| if(ev[ \merge ].detect({ |item| item == ev[ \topNote ] }).isNil) { ev[ \merge ] ++ ev[ \topNote ] } { ev[ \mer ...
-
... } } at{ |i| ( "Index " ++i).postln } } a = MyClass (); a[3]; Defining a custom array of Points: MyPointArray [slot] : RawArray { center { ^Point(* this .asArray.flop.collect{ |item| item.sum / item.size } ) } asArray{ ^ this .collect{ |ele ...
-
... ss to data to only one thread // there should never be mixed values in the data array ( var data, useAndModify; data = [1, 2, 3]; c = Semaphore (1); // c = Semaphore(2); use this to test how it would behave without exclusive access. useAndM ...
-
... t value is 0.0 alpha - An integer between 0 and 255 . Default value is 255 *fromArray (array) array - An instance of Array. 1-4 values between 0 and 1. See new. Same as * new (*array) *black - nothing is darker. *white - nothing is lighter. ...
-
... er frequency a.set( \gate , -3); // release in 3 seconds ( a = { var channels = Array .fill(8, { q.filterInput(q.chooseNoise) * q.makeEnv( Env .asr, 2) }); Splay .ar(channels); }.play; ) a.set( \freq , 6000); // set filter frequency a.set( ...
-
... start at the beginning of the bar, you can give the bar length as a number. An array of two numbers tells SuperCollider the bar length and the phase. To see how this works in practice, let's take the C major scale above and play two copies ...