-
... ile.openRead(path).if { // size = file.numFrames * file.numChannels; // array = FloatArray.newClear(size); // file.readData(array); // }; // file.close; // signal = Signal.newFrom(array); // spectrum = signal.stft(wSize, ovlp, wType); // if ...
-
... Pen.use({ if( GUI.id == \cocoa ) { Pen.width = pixelScale.x / 2; Pen.lineDash_( FloatArray[ 0.5, 0.5 ] ); } { Pen.width = pixelScale.x / 4; }; tempoMap.divisionLines( viewRect.left, viewRect.right, 0.25 ).do({ |i| Pen.line( i @ top, i @ bot ...
-
... Pen.use({ if( GUI.id == \cocoa ) { Pen.width = pixelScale.x / 2; Pen.lineDash_( FloatArray[ 0.5, 0.5 ] ); } { Pen.width = pixelScale.x / 4; }; tempoMap.divisionLines( viewRect.left, viewRect.right, 0.25 ).do({ |i| Pen.line( i @ top, i @ bot ...
-
... on Class methods kr Inherited class methods Undocumented class methods classesToFloatArray Instance methods Inherited instance methods Examples Classes (extension) | UGens GaussClass : UGen : AbstractFunction : Object Extension Gaussian cla ...
-
... ndices = (start..end) * numfeatures; var numvectors = end-start+1; ^ if(mean) { FloatArray.fill(numfeatures,{|i| featuredata.at(indices+i).mean }); } { FloatArray.fill(numfeatures,{|i| featuredata.at(indices+i).maxItem }); }; } *resolveFeat ...
-
... values DoubleArray - an array of 64-bit double precision floating-point numbers FloatArray - an array of 32-bit single precision floating point numbers Signal - Sampled audio buffer Wavetable - sampled audio buffer in wavetable format Int16 ...
-
... ew).permanent = true; }; } initAudioMulchClock { queue= PriorityQueue.new; avg= FloatArray.newClear(10); start= OSCresponderNode(nil, \t_start, {|t, r, m| var items = []; if(m[1]!=tick, { (this.class.name++": start "++m[1]).postln; if(Prior ...
-
... sampleRate).ceil.asInteger; }; size = (numFrames / width).ceil.asInteger; arr = FloatArray.newClear( size * f.numChannels ); peaks = (numFrames / size).ceil.asInteger.collect({ |i| var chunk; i = i * size; if( i < (f.numFrames * f.numChanne ...
-
... temClock.sched(sflength+1.0, { //Post << "transfer" << nl; analysisbuffer.loadToFloatArray(action: { arg array; var num; //Post << array << nl; num= array[0]; this.prepareData(num, array); }); }); }); } prepareData {arg num, array; lengths= ...
-
... get the numDataPoints: one frame at the start dataFile.readData(numDataPoints = FloatArray.newClear(1)); numDataPoints = numDataPoints[0]; if(numDataPoints.isNil) { "no numDataPoints information, assuming numDataPoints = 1".warn; numDataPoi ...