-
... speakers[i].azi = speakers[i].azi * tmp; }); for (0, numSpeakers - 1, {|i| var index = 0; tmp = 2000; for (0, numSpeakers - 1, {|j| if (speakers[j].azi <= tmp, { tmp = speakers[j].azi; index = j; }); }); sorted_lss[i]=index; tmp_azi = (spe ...
-
... panner, \mode, true ) .dontStoreArgNames_([ \mode ]) .chooseFunc_( { |args| var index, plane, dynamic; index = args.indexOf( \point ); plane = args.indexOf( \type ); dynamic = args.indexOf( \dynamic ); if( plane.notNil ) { plane = args[ pla ...
-
... , 1)); SinOsc.ar(Sweep.kr(trig, 700) + 500, 0, 0.2) }.play; ) // using sweep to index into a buffer b = Buffer.read(s, ExampleFiles.child); ( { var trig; trig = Impulse.kr(MouseX.kr(0.5, 10, 1)); BufRd.ar(1, b, Sweep.ar(trig, BufSampleRate. ...
-
... er synthdef names var name = 'rstp'++i, pan = -1.0.rand2; SynthDef(name, { |index = 0, amp = 1, stretch = 1, pan = 0| // args: horizontal position in grid, amplitude and stretch correction, pan var sig = Pan2.ar( // tweak sig to get ...
-
... s.getName } getName { ^try { object.republicName } ? "- none -" } switchSize { |index = 0| var newheight = heights[index]; var currTop = parent.bounds.bottom; parent.bounds = parent.bounds.height_(newheight).bottom_(currTop); } makeViews { ...
-
... und(0.0001)}], carfreq= 440 -> [20,20000, \exp], modFreq=200 -> [1,1000, \exp], index= 1 -> [0.1,10], pan = 0 -> [-1,1]; GrainFM.ar(1, Impulse.kr(freq), dur, carfreq, modFreq, index, pan); }], ['formletfun', {arg my= 1000 -> [400,3200]; var ...
-
... ase is always 1.0), and all ratios should be less than 2.0. calibrate(freq, noteindex) Behaves as in EqualTemperament. cps(noteindex) value(noteindex) Compute frequency in Hz for the given note index. If you use fractional indices, the offs ...
-
... ase is always 1.0), and all ratios should be less than 2.0. calibrate(freq, noteindex) Behaves as in EqualTemperament. cps(noteindex) value(noteindex) Compute frequency in Hz for the given note index. If you use fractional indices, the offs ...
-
... (rate == 'audio', { 81.do({|i| if (inputs.at(i).rate != 'audio', { ^(" input at index " + i + "(" + inputs.at(i) + ") is not audio rate"); }); }); }); ^this.checkValidInputs } init { | ... theInputs | inputs = theInputs ^this.initOutputs(81 ...
-
... ndices.collect({ |item| if( item < 0, 0, 1 ) }); } asSubArray { |division = 16, index = 11, minDivision = 16| // #speakers per sub, speakerindex to which sub is connected var newN, newPan; newN = (this.n / minDivision).ceil.asInteger; //if( ...