-
... ) * 0.05 * BufSampleRate.ir(bufnum) * timescalewin; // Next is the (pre-scaled) number of samples between indices. Note that while windowSize // is clipped, timescaleStep cannot be without the duration of the resulting sound becoming // dif ...
-
... , 0, \recursionLevel , 2 ).play ) // recursion over three levels with variable number of grains ( Pbind ( \type , \phrase , \instrument , \sweep , \degree , -5, \n , Pseq ([1, 2, 3], inf ), \recursionLevel , 3 ).play ) // "zoom" in TempoCl ...
-
... other threads until complete // it's very fast, though, can write over 180,000 numbers in 1-2 seconds // (on a MacBook Pro :) // if matrix is size n, first n rows contain the metrics sequentially // 2 additional rows for time points and pe ...
-
... iculation)) } convertToPC {arg aPitchClass; var rem; case {aPitchClass.isKindOf(Number)} { // check if there is an alteration... round to quarter-tones for now? rem = (aPitchClass % 1.0).round(0.5); aPitchClass = aPitchClass.trunc; ^PitchCl ...
-
... tballons cut 1 mono.wav"); // buffer handy tools: b.play; // check number of channels b.numChannels; // check duration b.duration; // check how many samples are in the sample b.numFrames; c.play; d.play e.play f.play ...
-
... }); value >= lastValue } { inval = (value - lastValue).yield; // these must be numbers obviously lastValue = value; }; lastValue = lastValue - (lastValue - value).roundUp(cycle); inval = (value - lastValue).yield; lastValue = value; }; ^in ...
-
... te that mouse axes and wheels usually create only relative values; that is, the number value tells you by how much the mouse was moved since its last position scan. You can use this to do a relative set on a process parameter, e.g. with the ...
-
... n; }); } rand { arg standardDeviation=0.15; this.inputs.do({ |in,i| // at least NumberEditors will respond in.tryPerform(\rand,standardDeviation,this.instr.initAt(i)); }) } doesNotUnderstand { arg selector ... dnuargs; var sel,setter,argNam ...
-
... var oscPort= SInputs.destinations.sDrone.port; var maxNumVoices= 30; //maximum number of voices for the synth var winRect= Rect(242, 242, 900, 780); //x, y, w, h var palette= SGUI.palette((highlight: Color.red(2/3, 0.5))); var fnt= SGUI.fo ...
-
... ee, 0, \recursionLevel, 2 ).play ) // recursion over three levels with variable number of grains ( Pbind( \type, \phrase, \instrument, \sweep, \degree, -5, \n, Pseq([1, 2, 3],inf), \recursionLevel, 3 ).play ) // "zoom" in TempoClock.default ...