-
... ioData = { |time| var result; ~file.seek(time * ~sampleRate.value, 0); result = FloatArray.newClear(~fftsize); ~file.readData(result); (result.size == ~fftsize).if({ result }, { "Soundfile read failed, asked for % samples and got %." .forma ...
-
... ioData = { |time| var result; ~file.seek(time * ~sampleRate.value, 0); result = FloatArray.newClear(~fftsize); ~file.readData(result); (result.size == ~fftsize).if({ result }, { "Soundfile read failed, asked for % samples and got %." .forma ...
-
... se = (atsKind == 3) or: { atsKind == 4 }; safeBandEnergy = Array.fill(frames, { FloatArray.fill(25, 0.0) }); if(hasNoise and: { bandEnergy.notNil and: { bandEnergy.size == frames } }) { frames.do { |fi| 25.do { |bi| safeBandEnergy[fi][bi] = ...
-
... . See also GUI help. // specify plot layout ( GUI.skins.plot.gridLinePattern = FloatArray[1, 0]; GUI.skins.plot.fontColor = Color(0.5, 1, 0); GUI.skins.plot.gridColorX = Color.yellow(0.5); GUI.skins.plot.gridColorY = Color.yellow(0.5); GUI ...
-
... rmation. Pen. lineDash = pattern Set the line dash pattern. pattern should be a FloatArray of values that specify the lengths of the painted segments and not painted segments. Pen. drawImage ( target , image , source , operation: 'sourceOve ...
-
... Window welWindow wrap zeroPad Classes | Collections > Ordered'>Ordered Signal : FloatArray : RawArray : ArrayedCollection : SequenceableCollection : Collection : Object Sampled audio buffer Source: Signal.sc See also: Wavetable Description ...
-
... f.tryPerform(\pending).notNil) { ^this }; // ignore in-process buffers buf.getToFloatArray(wait: -0.1, timeout: buf.numFrames * 0.0001, action: { |data| if(buf.tryPerform(\isWavetable) == true) { temp = FloatArray.new(data.size div: 2); dat ...
-
... // negagive start frame overWriteIndex = startFrame.neg; }; // read soundData = FloatArray.newClear(readSize * soundFile.numChannels); // interleaved (startFrame >= 0).if({ soundFile.seek(startFrame).readData(soundData); }, { soundFile.seek ...
-
... 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 ...
-
... Object: -=== Where both arrays are raw arrays (String, Int16Array, Int32Array, FloatArray etc., or any derived classes), like comparing two strings, a faster primitive will be used to calculate the distance. "hello".editDistance("hallo"); ...