-
... d a..k with 11 params named a..k ( ~names = "abcdefghijk".collectAs(_.asSymbol, Array); ~names.do { |n| Spec.add(n, [100, 1000, \exp]); Ndef(n, { var freqs = ~names.collect(_.kr); Splay.ar(Ringz.ar(Dust.ar(5 ! freqs.size), freqs, 0.2)); }); ...
-
... whichcut,beatdelay, timedelay, msg; //or need to adapt scheduler to send single arrays as single Msgs List[msg] timedmsgs.add([cumul[whichcut]+beatdelay, timedelay, msg]); } //create [delta, bundle] list, will be sorted already cacheMsgs {a ...
-
... en }) }) } } // not exact -- works if there are no embedded patterns within the arrays being laced // otherwise the estimate will be too low // should be adequate for my purposes + Place { estimateLength { var listLen; (repeats === inf).if( ...
-
Spectrogram { classvar <server; var window; var <fftbuf, fftDataArray, fftSynth; var inbus, <>rate; var <bufSize, binfreqs; // size of FFT var <frombin, <tobin; var framebuffer, <seconds, image, imgWidth, imgHeight, <>intensity, runtask; va ...
-
... that should be inherited by all chuckables should be defined here AbstractChuckArray { classvar collection, // each chuckable is a collection of related objects <>directories, <>defaultSubType = \basic, // set this when loading a piece to ...
-
... dAct = \addToTail; fxOn = if(setting.notNil, {setting[6]}, { false }); slider = Array.newClear(param[0].size); //bufnum = nil; specs = param[2]; // mono or stereo? channels = ch; stereoChList = XiiACDropDownChannels.getStereoChnList; monoCh ...
-
... = { |sl| var lmval,lval; lval = sliderSpec.map( sl.value ); lmval = fp.lineMap.array.indexInBetween( lval ).floor; if ( ( (sl.value) - sliderSpec.unmap( fp.lineMap.at( lmval ) ) ) < 0.1 ){ fp.goToLine( lmval ); }{ fp.goToLine( (lval/linedi ...
-
... out.add(this.prBitStrToInt(input.copyRange(i, i+7))); i= i+8; }); }); }); ^out.array; } *binaryStringToBytes {|str| pad= 0; ^str.clump(8).collect{|x| while({x.size<8}, { x= x++0; pad= pad+1; }); this.prBitStrToInt(x); }; } *bytesToBinarySt ...
-
... Bar.asFloat, baseBarBeat: baseBarBeat.asFloat); ^state; } toMessage { var msg = Array.newClear(14); // Sanitize numbers to floats before serializing. applyAtBeat = applyAtBeat.asFloat; applyAtTime = applyAtTime.asFloat; tempo = tempo.asFloa ...
-
... ther notation e= EaseInAtan (10) e.value(0.5) //--ramping a= (0..100)/100; //an array with 100 values 0.0-1.0 a.collect{ |t| EaseInQuad .(t)}.plot; a.collect{ |t| EaseOutQuad .(t)}.plot; a.collect{ |t| EaseInOutQuad .(t)}.plot; //--similar ...