-
... okup (which is faster than nested if statements), so it should be very fast and scale to any number of clauses. ( var x=0; //also try 1 switch(x,0,{ "hello" }, 1, { "goodbye" }) ) ( var x, z; z = [0, 1, 1.1, 1.3, 1.5, 2]; switch (z.choose.p ...
-
... s 6 == 2 * 3 In this simple example, staccato vs. legato is calculated based on scale degree: lower notes are longer and higher notes are shorter. That only scratches the surface of this technique! Be aware that Pkey can only look backward ...
-
... am is chosen this cycle. This use of Pseries is essentially a random walk among scale degrees. It has more linear continuity than the equal distribution generated by Pwhite. Even though the higher range interrupts from time to time, the con ...
-
SynthDesc description of a synth definition Contains a description of a SynthDef, including its name, control names and default values. Information is also stored on its outputs and inputs and whether it has a gate control. See also: SynthD ...
-
EZKnob wrapper class for label, knob, number box Inherits from: Object : EZGui EZKnob is wrapper class which creates an (optional) StaticText , and a Knob plus a NumberBox . If the parent is nil, then EZKnob will create its own window. See ...
-
EZSlider wrapper class for label, slider, number box Inherits from: Object : EZGui EZSlider is wrapper class which creates an (optional) StaticText , and a Slider plus a NumberBox . If the parent is nil, then EZSlider will create its own wi ...
-
... ; var fft; var feature1, feature2, feature3; in= PlayBuf .ar(1,d.bufnum, BufRateScale .kr(d.bufnum),1,0,1); //in = SoundIn.ar(0); //Create some features fft = FFT (b.bufnum, in); feature1= RunningSum .rms(in,64); feature2= MFCC .kr(fft,2); ...
-
... req, 0.3); Out .ar(bus, Pan2 .ar(sig, pan) * EnvGen .kr( Env .perc(0.1, 1), timeScale: noteLen, doneAction: 2)); }).add; SynthDef ( "LFNoise1" , { arg freq, mul, add, bus; Out .kr(bus, LFNoise1 .kr(freq, mul:mul, add:add)); }).add; ) // Pla ...
-
... t applying them in place // convenient for RT use / test or whatever... // here scale down the image otherwise with the zoomblur it will take your computer // to its knees using addFilter and not applyFilter // kinda fast swapping test a = ...
-
... ly determined by: dur The time until next event in a sequence of events stretch Scales event timings (i.e. stretch == 2 => durations are twice as long) sustain Duration of the synth, typically determined (in stretched time units) by: legato ...