-
... T // =========================== // adjust the path // download MIDI file, select it in your file browser (one click only), "copy" it (ctrl+C), paste (ctrl+V) path here: ~melody = SimpleMIDIFile.read( "/home/sclork/Downloads/melody.mi ...
-
... s control ADSR envelope. All partials have equal amplitude. How to start: select all (ctrl + A), then evaluate (ctrl + enter) (on a Mac, use the command key instead of control) */ s.waitForBoot({ var win, buttonArray, notes ...
-
... sig[0]), -30.dbamp), 0.001)); // Add the static noise (Convolution) sig = SelectX.ar(staticWet, [sig, Convolution.ar(sig + dcSig, staticNoise)]); // Speaker effect sig = BPF.ar(sig, freq, rq, 1/(rq.sqrt)); sig = (sig*2).disto ...
-
... ); var contents = dir.entries; if (contents.select({ |n| n.isFile }).size > 0) { var files, bufArray; files = contents.select({ |n| n.isFile }); ...
-
... note the frequency of which goes up and down at a given speed. (= vibrato!) Select all (ctrl + A), then evaluate (ctrl + period). Watch the spectrum on the Frequency Analyzer window. */ s.waitForBoot({ var win, carrFreqKnob, ...
-
... ating the starting point; different for left and right channel direction = {Select.kr(LFNoise1.kr(trigfreq*dirmul) > 0, [-1, 1])}!2; //modulating the direction; different for left and right channel rand = {LFNoise1.kr(trigfreq*randm ...
-
... uman and non-human listening. In the PASM, a computer uses chance principles to select samples for playback and apply effects; a human performer decides how long each sample is played for, and also operates a simple sine wave oscillator. ...
-
... e_(true) .drawFunc_({ var collisions; alienLaserArray = alienLaserArray.select({ arg rect; board.bounds.intersects(rect); }); laserArray = laserArray.select({ arg rect; board.bounds.intersects(rect); }); ...
-
... \storage : ( // state to track 2nd last and last state, needed to select the next state \previous : nil, \previous_previous : nil ); ); ~markov2d.safeReg(\setup, { // funct ...
-
... rand2 = EnvGen.kr(Env.new(mPoints2,mTimes2,\exp),gate:gate); imp = Select.ar(K2A.ar(trigger), [ Impulse.ar(dense*rand1,[0,offset]), Dust.ar(dense*rand1) ]); win = EnvGen.ar(Env.new([0,1,0],[((den ...