-
... aying index:"+index).postln; c.unhang; }; c.hang; index= index+1%b.size; //play in sequence //index= b.size.rand; //or play random }; }).play; )
-
... + b * x(n) + c sclang code translation: ( var a = 1, b = -1, c = -0.75, xi = 0, size = 64; plot(size.collect { xi = (a * (xi ** 2)) + (b * xi) + c; xi }); ) ⧉ ✔ Class Methods QuadL. ar ( freq: 22050 , a: 1 , b: -1 , c: -0.75 , xi: 0 , mul: ...
-
... + b * x(n) + c sclang code translation: ( var a = 1, b = -1, c = -0.75, xi = 0, size = 64; plot(size.collect { xi = (a * (xi ** 2)) + (b * xi) + c; xi }); ) ⧉ ✔ Class Methods QuadC. ar ( freq: 22050 , a: 1 , b: -1 , c: -0.75 , xi: 0 , mul: ...
-
... ; a = [ SinOsc.ar, Saw.ar(300), Pulse.ar(230) ]; SelectX.ar(MouseX.kr(0, 1) * a.size, a) * 0.2 }.play; ) ( { var a; a = [ SinOsc.kr(0.25), LFSaw.kr(10), LFPulse.kr(0.3) ]; SinOsc.ar(SelectX.kr(MouseX.kr(0, 1) * a.size, a) * 300 + 400) * 0.2 ...
-
... position; rotationMatrices.do{|m| v= v.matrixMul(m)}; v; }; } render {|dist= 2, size= 100| renderedPoints= vectors.collect{|v| v= v.project(dist); Point(v[0], v[1])*size; }; } draw {|dotSize= 5| renderedPoints.do{|p, i| Pen.fillOval(Rect.ab ...
-
... etimes so fast that a pitch is heard. With this procedure you must specifiy the sizes of allowed blocks. Each block then has some probability to be a simple statement, or some type of roll (fast set of repetitions), either even or geometric ...
-
... leRate; // Input sample rate var <>duration; // Duration in seconds var <>windowSize; // FFT window size var <>hopSize; // Hop size in samples var <>frameCount; // Number of analysis frames var <>partialCount; // Number of partials var <>wi ...
-
... totalweight.rand; runningsum = 0; while { index = (index + 1) % currentWeights.size; runningsum = runningsum + currentWeights[index]; runningsum < rnd }; }); } } // deprecated; Pslide now has a wrap flag PslideNoWrap : Pslide { // false = ...
-
... se larger buffer for lower frequencies or higher formant ratio. Required buffer size depends on the lowest processed frequency and highest requested formant ratio during re-synthesis. ((SampleRate.ir * minFreq.reciprocal * maxFormantRatio) ...
-
... ysicist Boris Chirikov. sclang code translation: ( var k = 1, xi = 0.5, yi = 0, size = 64; plot(size.collect { yi = yi + (k * sin(xi)) % 2pi; xi = (xi + yi) % 2pi; xi - pi * 0.3183098861837907 }); ) ⧉ ✔ Class Methods StandardL. ar ( freq: 2 ...