-
// adaptation functions var saveSubType = AbstractChuckArray.defaultSubType; // first, evaluate fitness // these are very basic defaults, user can customize them for certain materials // write adTest later #{ |orig, test| var out; out = ori ...
-
... chans = sf.numChannels.asInteger.max(1); sr = sf.sampleRate.asFloat; raw = FloatArray.newClear(frames * chans); sf.readData(raw); sf.close; mono = FloatArray.newClear(frames); frames.do { |i| mono[i] = raw[(i * chans).clip(0, raw.size - 1)] ...
-
... mes = numChans; numChans = 1; }; (numChans > 1).if{ // interleave data, flatten array data = data.flop.flat; }; score.score = score.score.insert( 1, // before synth [0, [ \b_alloc, bufNum, numFrames, numChans, nil] ] ); score.score = score. ...
-
... : UnitTest { test_prepare { var sd, b,completed=false; b = OSCBundle.new; sd = Array.fill(100,{ |i| var d; d = SynthDef( "TestOSCBundle" ++ i,{ SinOsc.ar(400 + i,mul: 0.0001) }); b.addPrepare( ["/d_recv", d.asBytes] ) }); this.bootServer; ...
-
... chooseblock; cuts= proc.cuts; //backwards compatability if(not(cuts[0].isKindOf(Array)),{ cuts= Array.fill(cuts.size,{arg i; [cuts[i],cuts[i], nil,1.0]}); }); cache= cache++cuts; blocklength=proc.blocklength; //in beats blocknum=proc.block; ...
-
... ) { def.createSynthFunc_({ |unit, target, startPos = 0| var server, n = 0; var arrayConfs; var arrayGroup; var prePanSynth; var planeLevels; var planeSynths = []; var defName; var crossfader; var gain; var point; server = target.asTarget.s ...
-
// adaptation functions var saveSubType = AbstractChuckArray.defaultSubType; // first, evaluate fitness // these are very basic defaults, user can customize them for certain materials // write adTest later #{ |orig, test| var out; out = ori ...
-
... t: >> pdefCmd >> bpCmd As arguments, they take: - name (required): a Symbol (or array of Symbols) naming the Pdefs or BPs to control - dur: how long to allow the processes to run; if nil, the processes will run indefinitely until they stop ...
-
... t: >> pdefCmd >> bpCmd As arguments, they take: - name (required): a Symbol (or array of Symbols) naming the Pdefs or BPs to control - dur: how long to allow the processes to run; if nil, the processes will run indefinitely until they stop ...
-
... ` argument is expected to be a Node.js HTTP request. The `types` argument is an array of type strings. Each type in the `types` array can be one of the following: - A file extension name such as `json`. This name will be returned if matched ...