-
... orce, for each of these modes. Here most of the math for those modes is done in arrays, then plugged into Klank, along with a short burst meant to simulate the object being hit. The title of this synthdef says it's a marimba, but it can als ...
-
... ape classes. Class Methods Inherited class methods Instance Methods . points An array of RedVector4D defining the corners of the shape. . rotation Get or set the current rotation of the shape. Arguments: redVec A 6-dimensional RedVector . . ...
-
chaos gen modular function for modular pseudo ugen prototyping by tiagmoraismorgado (tiagmoraismorgado) Code
... eMin=0.01, amplitudeMax=0.6, myPhase, phaseMin=0, phaseMax=1.5; myFrequency = Array.fill(2, {[rrand(frequencyMin, frequencyMax)]}); myAmplitude = Array.fill(2, {[rrand(amplitudeMin, amplitudeMax)]}); myPhase = Array.fill(2, {[rrand(ph ...
-
... Port}); if(scOutPort.isNil, {scOutPort = this.detectOutPort}); //Create control arrays pads = Array.newClear(16); hSliders = Array.newClear(16); vSliders = Array.newClear(16); lSliders = Array.newClear(4); buttons = Array.newClear(16); circ ...
-
... ns and data to calculate loudness countours and masking. They return floats and arrays of floats. *calc(freq, spl) Returns the phon value for a certain frequency in Hz and intensity in dB SPL // examples LoudnessModel .calc(1000, 100); //at ...
-
... Canvas3D(w, Rect(0, 0, width, height)); u.add(Canvas3DItem() .paths_( Array.fill(segments+1, {|i| var u= i/segments*2pi; Array.fill(segments+1, {|j| var v= j/segments*2pi; var x= (minorRadius*cos(v)+majorRa ...
-
... [32, 32]; var sorted = 0.5.coin.debug('sorted'); var sig = Klank.ar( { `[Array.exprand(bands[1], freq[0], freq[1]), Array.exprand(bands[1], 0.1, 1), Array.exprand(bands[1], 0.1, 1)] } ! 2, { BPF.ar( SelectX.ar( SinOsc.kr( ...
-
... .sum3rand.postln; }); // quasi-gaussian, bell-shaped. Collect the results in an array: Array .fill(10, { 1000.linrand }).postln; // or more compact: { 1.0.sum3rand }.dup(100) // or: ({ 1.0.sum3rand } ! 100) You can seed a random generator i ...
-
... lect and TIRand ) An output is selected randomly on recieving a trigger from an array of inputs. see also: TWChoose *ar(trig,array) *kr(trig,array) ( { var a; a = [ SinOsc .ar, Saw .ar, Pulse .ar ]; TChoose .ar( Dust .ar( MouseX .kr(1, 1000 ...
-
... e bounds of the view. Inherited class methods Instance Methods . points Set the Array of Cartesian points to display. If resetConnections is false , any previously set -connections will remain, otherwise the default connections will be set ...