-
... ; fArray = fArray.collect({|item| Color.gray((item + 1) * 0.5).asInteger; }).as(Int32Array); tempImage = SCImage.color(argWidth, argHeight, Color.red); tempImage.pixels = fArray; fArray = nil; ^tempImage; } }
-
... ource: ArrayedCollection.sc Subclasses: DoubleArray , FloatArray , Int16Array , Int32Array , Int8Array , String , SymbolArray … see all Description RawArray is the abstract superclass of a group of array classes that hold raw data values. C ...
-
... ypes in SuperCollider is: Int8Array - 8 bit integer Int16Array - 16 bit integer Int32Array - 32 bit integer FloatArray - 32 bit floating point DoubleArray - 64 bit floating point SymbolArray - symbols NOTE: The overflow/underflow behavior o ...
-
... ypes in SuperCollider is: Int8Array - 8 bit integer Int16Array - 16 bit integer Int32Array - 32 bit integer FloatArray - 32 bit floating point DoubleArray - 64 bit floating point SymbolArray - symbols NOTE: The overflow/underflow behavior o ...
-
... }; // curve factor for Y scaleing (0 = linear, 3 =~ mel scale) image.setPixels(Int32Array.fill(width * height, { |i| var index = scaleFunc.(height - (i / width) - 1).asInteger; var frame = i % width; var mag = ~fftMags[frame][inde ...
-
... a RGBA integer // A simple example on how to manipulate pixels with Image ( b = Int32Array[ Image.colorToPixel(Color.new255(255, 0, 0, 255)), // red Image.colorToPixel(Color.new255(0, 255, 0, 255)), // green Image.colorToPixel(Color.new255( ...
-
... eads the entire file as an Int16Array. readAllInt32 Reads the entire file as an Int32Array. readAllFloat Reads the entire file as an FloatArray. readAllDouble Reads the entire file as an DoubleArray.
-
... ax(binfreqs.indexOf((lowfreqarg/2).nearestInList(binfreqs)), 0); fftDataArray = Int32Array.fill((tobin - frombin + 1), 0); running = false; this.sendSynthDef; this.createWindow(parent, boundsarg); } createWindow {arg parent, boundsarg; var ...
-
... 16Array, 'int16': Int16Array, 'mulaw': Int16Array, 'alaw': Int16Array, 'int24': Int32Array, 'int32': Int32Array, 'float': Signal ); } *at { |key| ^all[key] } analyse { | finishFunc | // var chunkSize = 400, pause = 0.01; // not used yet xin ...
-
... e random number generation should give the same sequence thisThread .randData_( Int32Array [ -662787342, 1546785953, 1661466823 ]); 10.do{1.0.rand2.postln};