-
... vTracks, currentPeaks, frameIdx=0| var newTracks = List.new; var matchedFlags = Array.fill(currentPeaks.size, false); var trackFreq, candidates, bestMatch, idx; if((prevTracks.isNil) || (prevTracks.size == 0)) { // First frame: each peak be ...
-
... fers. // You could also keep it in a variable. MIDIRecBuf ( \melody , [... note array ...], (type: \mel )) => MBM (0); MBM (0)[ \melody ] => BP ( \mel ); // Using a chuck parameter to indicate the buffer type. MBM (0)[ \melody ].chuck( BP ( ...
-
... fers. // You could also keep it in a variable. MIDIRecBuf ( \melody , [... note array ...], (type: \mel )) => MBM (0); MBM (0)[ \melody ] => BP ( \mel ); // Using a chuck parameter to indicate the buffer type. MBM (0)[ \melody ].chuck( BP ( ...
-
... ter azi: Azimuth angle of source elev: Elevation angle of source Return coeffs: Array[16] of Ambisonics coeffs */ *kr { |e, norm| // elevation, norm var w,x,y,z,v,t,r,s,u,q,o,m,k,l,n,p; var sinE = sin(e); w = 1; // y = 0; z = sqrt(3) * sinE ...
-
... t.server, 0); }); bus = Bus.control(target.server, target.numChannels); peaks = Array.fill(target.numChannels, 0); this.prInit; all.put(bus.index, this); // so OSCresponder can find me updater = Routine({ // first get the results from the l ...
-
... rectly write functions to soundfiles (realtime) // args is am aray, a msg style array of arguments for the function or a dict: // [440, 1] or [\freq, 440, \gate 1] or (freq: 440, gate: 1) // // based on Function-loadToFloatArray loadToBuffe ...
-
... t.server, 0); }); bus = Bus.control(target.server, target.numChannels); peaks = Array.fill(target.numChannels, 0); this.prInit; all.put(bus.index, this); // so OSCresponder can find me updater = Routine({ // first get the results from the l ...
-
... ionProb.coin, { offspring2 = mutationFunc.value(offspring2); }); ^[offspring1.asArray, offspring2.asArray]; }, { if(mutationProb.coin, { p1 = mutationFunc.value(p1); }); if(mutationProb.coin, { p2 = mutationFunc.value(p2); }); ^[p1, p2]; }) ...
-
... hrirFilters[i][1], 0, 4096, 1) ] }.sum; // sum the [[L,R],[L,R],[L,R],...[L,R]] array ^decoded; } }
-
... s instance that correspond with the Control parameters of a SynthDef (including array parameters). * In real-time mode, the change of an argument's value will be reflected in the running synth. * Better support for playing CtkScore in real- ...