-
... + "_Flu.wav").postln; }); server.sync; bufAformat.free; bufWXYZ.free; }; irA4 = Array.newClear(4); irSpectrum = Array.newClear(4); 4.do({ | i | irA4[i] = Buffer.readChannel(server, afmtDir, channels: [i]); irSpectrum[i] = Buffer.alloc(serve ...
-
... dMsg(\n_free,synthid); } renderBlock {arg block,clock; var samprate,bitstart,bitarray,srarray, s; s= cutgroup.server; bitstart= bits.value(block); samprate= sr.value(block); srarray= Array.geom(block.cuts.size,samprate,srmult.value(block)); ...
-
... .sendMsg(\n_free,synthid); } renderBlock {arg block,clock; var freq, amount,freqarray,amountarray, s; s= cutgroup.server; amount= modamount.value(block); freq= modfreq.value(block); amountarray= (Array.geom(block.cuts.size,amount,mamult.val ...
-
... initialized as float 0.0 to avoid numerical // errors for sums of large integer arrays. sumF { | function | var sum = 0.0; if (function.isNil) { // optimized version if no function this.do { | elem | sum = sum + elem; } }{ this.do {|elem, i ...
-
... } prUnipolar{ |rect, hsize, contrast, color, t=0| var min, max, image, rgbs, valArray, xmap, ymap, vsize; min = 100; max = 0; rect = rect ? Rect(0,0,1,1); vsize = (hsize*rect.height/rect.width).asInteger; hsize = hsize.asInteger; vsize = vs ...
-
... n, <>onoffAction, <>offAction; var <>defaultRetAction; var <>weights; var <>dataArray; var <task, <>waitTime = 0.05; *new{ |data,name| ^super.new.init(data,name); } longshort_{ |long| if ( long, { updateValues = { var val; val = 0; dataArra ...
-
... ////// ATSResidual { var <>atsSound; var <>audioData; // original samples (FloatArray) var <>residual; // FloatArray, filled by compute var <>synthesis; // FloatArray, deterministic part var <>bandEnergy; // [frame][band] residual energy in ...
-
( Alga.boot({ AlgaSynthDef(\test, { Mix(Array.fill(1000, { | i | SinOsc.ar(\freq.kr(100) * i) })) * DC.ar(0) }).add; 4.do { AlgaNode(\test) }; fork { loop { s.avgCPU.postln; 1.wait; } } }, algaServerOptions: AlgaServerOptions(blockSize: 64, ...
-
... us -> Bus.new(\audio, 0, 1, Server.local) + SequenceableCollection { asBus { // array should be index, numchan, server, rate ^Bus.new(this.at(3) ? \audio, this.at(0) ? 0, this.at(1) ? 2, this.at(2) ? Server.default) } }
-
... us -> Bus.new(\audio, 0, 1, Server.local) + SequenceableCollection { asBus { // array should be index, numchan, server, rate ^Bus.new(this.at(3) ? \audio, this.at(0) ? 0, this.at(1) ? 2, this.at(2) ? Server.default) } }