-
... stln("define-loudspeakers: Not valid 3-D configuration"); ^nil; }); // Returned FLoatArray data structure: // "header": // layout dimentions: 2 or 3 (1) // number of loudspeakers (1) // triplet data (x numTriplets): // channel indices of th ...
-
... stance methods blend write Classes | Collections > Ordered'>Ordered Wavetable : FloatArray : RawArray : ArrayedCollection : SequenceableCollection : Collection : Object sampled audio buffer in wavetable format Source: Signal.sc See also: Si ...
-
... , netsize, w, numchans, heatmaps; sf = SoundFile.new; sf.openRead(path); farr = FloatArray.newClear(sf.numFrames * sf.numChannels); sf.readData(farr); sf.close; numchans = sf.numChannels; numrows = (numchans / rowlen).ceil.asInteger; netsiz ...
-
... n ) { 0-f } { f }; }) ) * (-27.dbamp); if( outPath.isNil ) { ^ir } { ir = ir.as(FloatArray); sf = SoundFile.new; outPath = outPath.getGPath; if(sf.openWrite(outPath), { sf.writeData(ir); sf.close; ^outPath; }, { "%:generateDanStowelIR : Fai ...
-
... // wavetable buffer plotter + Buffer { plotWavetable { |name, bounds| this.getToFloatArray(wait: 0.05, action: { |v| defer { var result = FloatArray.new(v.size div: 2); v.pairsDo({ |a, b| result.add(a+b) }); result.plot; } }); } } + Object ...
-
... // wavetable buffer plotter + Buffer { plotWavetable { |name, bounds| this.getToFloatArray(wait: 0.05, action: { |v| defer { var result = FloatArray.new(v.size div: 2); v.pairsDo({ |a, b| result.add(a+b) }); result.plot(name, bounds); } }); ...
-
... 75, 1.0].choose })) }).add; SynthDescLib.at(\bigLocalBuf).constants; // prints: FloatArray[1, 88200, 0, 0.75, 0.5, 0.25] ⧉ ✔ . clear set the buffer slot to zero. Discussion: This is important when randomly accessing buffer slots (e.g. with ...
-
... limma = (2 ** 8) / (3 ** 5); apotome / limma ) ⧉ ✔ Note that despite its name, FloatArray only holds 32-bit (single precision) floats. For a raw array of 64-bit floats, use DoubleArray . NOTE: The overflow/underflow behavior of a Float is ...
-
... aults {Pan2.ar(Gendy5.ar)}.play //sorry Xenakis!!! ( var scale, buffer; scale = FloatArray[0, 2, 4, 6, 7, 9, 11]; buffer = Buffer.alloc(s, scale.size,1, {|b| b.setnMsg(0, scale) }); play({ var mix; mix = SinOsc.ar( ( DegreeToKey.kr( buffer. ...
-
... = SoundFile.openRead( pth ); if( sf.notNil ) { if( sf.numChannels == 9 ) { fa = FloatArray.newClear( sf.numFrames * sf.numChannels ); sf.readData( fa ); wfspath = WFSPath2.fromBufferArray( fa ); wfspath.name = pth.basename.removeExtension; ...