-
... eads the entire file as an Int32Array. readAllFloat Reads the entire file as an FloatArray. readAllDouble Reads the entire file as an DoubleArray.
-
... rray you supply. You must have already called openRead. The raw array must be a FloatArray. Regardless of the sample format of the file, the array will be populated with floating point values. For integer formats, the floats will all be in ...
-
... : Object : Collection : SequenceableCollection : ArrayedCollection : RawArray : FloatArray A Signal is a FloatArray that represents a sampled function of time buffer. Signals support math operations. See also: Wavetable Creation *sineFill(s ...
-
... /reading examples: ( var h, k; h = File ( "test2" , "wb" ); h.inspect; h.write( FloatArray [1.1, 2.2, 3.3, pi, 3.sqrt] ); h.close; k = File ( "test2" , "rb" ); (k.length div: 4).do({ k.getFloat.postln; }); k.close; ) ( var f, g; f = File ( ...
-
... updated. The function will be passed this Buffer as an argument. s.boot; ( a = FloatArray .fill(44100 * 5.0, {1.0.rand2}); // 5 seconds of noise b = Buffer .loadCollection(s, a); ) // test it b.get(20000,{ |msg| (msg == a[20000]).postln}); ...
-
... ). See also GUI help. // specify plot layout ( GUI .skin.plot.gridLinePattern = FloatArray [1, 0]; GUI .skin.plot.fontColor = Color (0.5, 1, 0); GUI .skin.plot.gridColorX = Color .yellow(0.5); GUI .skin.plot.gridColorY = Color .yellow(0.5); ...
-
... w.refresh; ) *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. ( var w; w = Window .new( "Radial Gradient + line dash + cubic b ...
-
... size, 50)); b.readOnly_( true ); a.view.decorator.nextLine; d = Array .new; c = FloatArray .newClear(65493); r = Slider ( a, Rect (0, 0, size, 12)); r.action = { arg ex; b.setProperty( \xOffset , (ex.value * 4) + 1 )}; file = SoundFile .new ...
-
... bclasses are Array (for holding objects), and RawArray , from which Int8Array , FloatArray , Signal etc. inherit. Class Methods *with(... args) Create a new ArrayedCollection whose slots are filled with the given arguments. Array .with(7, ' ...
-
... har* Int16Array void*, short* Int32Array void*, int* DoubleArray void*, double* FloatArray void*, float* Signal float* Array QTTime , NSRange , NSSize , SCNSObject * Objective-C Types -> SuperCollider Types (on method return) -------------- ...