-
... , centerPosSlider.hi.linlin(0, 1, 0, soundFile.duration) ] // returns an array [lo, hi] }; Window.closeAll; Buffer.freeAll; // Main window win = Window.new("Granular Sampling", Rect(50, 50, 600, 580), false).front; wi ...
-
... LocalIn.ar(numOscs); filterIn = preAmp * in; oscs = freqs.inject([], {|oscArray, freq, i| tmpOsc = ComplexRes.ar(filterIn, freq + oscArray.inject(0, {|sum, osc, j| // modulators from already instantiated oscs su ...
-
... oor.asInteger; //removes integer component to avoid double digit numbers in the array when there shouldn't be while( ////conditions for stopping section//// {i < maxIterations} //limit on maximum numbers of iterations for safety ...
-
... ~e.(~q.(), ~d.() * ~w.(~q.(2),4,8)/4) ! 2 / 12 }).play; ( Ndef(\p, { var a = Array; DynKlank.ar(`[a.exprand(8,2e2,2e4).sort, a.exprand(8,0.1,1).sort.reverse, a.exprand(8,0.25,1).sort.reverse], T2A.ar(~q.(-1,1) bitXor: ~q.(1,1,1)) / 30 * ...
-
... n.ar( Env([0,1,1,0],[atk,sus,rel],[c0,0,c1]), doneAction:2 ); //array of eight Oscs with uniquely detune frequencies //and unique initial phase offsets detuneCtrl = LFNoise1.kr(0.1!8).bipolar(detune).midiratio; sig ...
-
... nthDefs to be added... s.sync; // Now call the Synths: harmo_spectrum = Array.fill(harmo_numharm, {arg i; Synth("additive-multislider", [\freq, 110, \freq_mul, (i+1), \amp, 0.0, \outbus, sndBus], ~minis)}); Synth("continuousOut" ...
-
... ound_(Color.gray(0.5)); decorator = window.addFlowLayout(0@0, 0@0); // make arrays matrix = Array2D.new(numRows, numCols); buttonMatrix = Array2D.new(numRows, numCols); // makeLEDS leds = numCols.collect{ |i| Button(window, R ...
-
... ); ~topPanel.decorator_(FlowLayout(~topPanel.bounds, 4@4, 4@4)); ~subPanel= Array.fill(4, { arg view; view = UserView(w, 120@180).background_(Color.rand(0.7,0.9)); view.decorator_(FlowLayout(view.bounds, 4@4, 4@4)); }); ...
-
... ar numberOfPoints, timeScale, win, subwin, font, labelColor, windowColor, presetArray, presetButtons, masterOut; /* , , , , , , , , , , freqRatioDisplayAnumber, freqRatioDisplayBnumber, , , , , ; */ /////////////////////////// ...
-
... eScale, volumeSlider, durationSlider, printEnvData, adjustEnv, masterOut, presetArray, presetButtons; timeScale = 3; // total duration of a "note" numberOfPoints = 8; // how many points in the breakpoint envelopes presetArray = Arra ...