-
... o = 5, amp=0.2, pan| Pan2.ar(RLPF.ar(Pulse.ar(12), freq, 1/reso, amp), pan); }).play; Ndef(\a).set(\freq, 400, \reso, 5, \amp, 0.2, \pan, 0.2); // add specs for params so they are known Ndef(\a).addSpec(\reso, [2, 32, \exp]); // make a gui ...
-
... ames = 30, <>fps = 30; var <>mode = "RGB"; var <>pythonString = false; var <>displayLatency = 1; // min. elapsed time (in secs.) between render and display var <>needsTab = false; var <>basicPointPrim = "oval"; // options: oval or rect *new ...
-
... ; }, period, false, "hailingSignal"); }; } start { this.hailingSignal; skipJack.play; } stop { skipJack.stop; } // everybody still there? checkOnline { var now; now = Main.elapsedTime; lastResponses.keysValuesDo({|name, lastHeardFrom| if((n ...
-
Avant Garde - Assignment 4: Algorithmic Harp (Pluck) [musc-9-pluck] by jonathan-coon (Jonathan Coon) Code
... 2, ~siren3], 1), Ppar([~drone1, ~drone2, ~up, ~down], 1), ~twinkle ] ).play; ) // --------------- // PLUCK PATTERNS // --------------- // Twinkle ( ~twinkle = Pbind( \instrument, "plucking", \scale, Scale.major, \d ...
-
... KMeansRT.kr(buf, {PinkNoise.kr}.dup(d), numclust, gate:1, reset:0, learn:0); }.play(s); 0.2.wait; s.sync; 1.0.wait; buf.loadToFloatArray(action: {|data| this.assertArrayFloatEquals(data, origdata, "data buffer should be unaffected by use o ...
-
... oise .ar(0.9).dup(2), c[0][0].real, 0, 0, c[1][1].real.neg, c[1][2].real.neg) }.play
-
... VOsc3 .ar(bufoffset+x, freq+[0,1],freq+[0.37,1.1],freq+[0.43, -0.29], 0.3) ) }).play(s,[ \out , 0, \bufoffset , 0]); ) ( 8.do({ arg i; var a; s.sendMsg( \b_alloc , i, 1024); // allocate table // generate array of harmonic amplitudes a = Arr ...
-
... open code design questions. ***/ q = q ? (); Ndef(\in, { SoundIn.ar([0, 1]) }).play; // Make the Master FX Chain first ( // The order in slotNames determines order of execution of the efx. MasterFX.clear; try { q.masterFXGui.close }; q.mas ...
-
... shiftamp; #shiftfreq, shiftamp = shiftBusses.flop[[0, 2]].flop.product; sound = PlayBuf.ar(1, bufnum, shiftfreq); amp = cutoff * ampComp * amp * shiftamp; DetectSilence.ar(sound , doneAction: 2); Out.ar(out, Pan2.ar(sound, pan, amp)); }).ad ...
-
... t. 1.0 is normal, 0.5 is one octave down, 2.0 is one octave up. Negative values play the soundfile backwards. windowSize The size of each grain window. envbufnum The buffer number containing a singal to use for the grain envelope. -1 uses a ...