-
... ger soundfile from disk. This requires a buffer to be preloaded with one buffer size of sound. DiskIn cannot alter playback rate. See VDiskIn for a disk-streaming UGen with rate control. Class Methods DiskIn. ar ( numChannels , bufnum , loo ...
-
... conciseness of SuperCollider is wonderful! ( a=Array.fib(64,0,1);b=Array.fill(size:12,function:{arg i;a[i]%8}); p=1/8;Pdef(\x,Pbind(\dur,p,\degree,Pseq(b,1,0))); r=Array.fill(12,{arg i;Pbindf(Pdef(\x),\mtranspose,b[i]);}); Pseq(r,(1/p) ...
-
... e = lastFrame.max(arr[1]); }); veryLastFrame = veryLastFrame.max(arr[1]); if(it.size > 3, { ((it.size-3)/2).do({ arg j; dict.put(it[j*2+3], it[j*2+4]); }); }); arr = arr.add(dict); if((arr[0] >= firstFrame) && (arr[0] < lastFrame), { score ...
-
... x = 0; this.changed(\play); endStatus = block { |break| while { //[index, array.size].debug("checking to continue"); index < array.size } { item = array[index].asTLItem(now); //[index, item].debug("got item"); case { item.isNumber } { //ite ...
-
... e.alpha_(0.5), Color.black.alpha_(0.7), Color.black ]; } value_ { |val| if( val.size != 2 ) { val = val.asCollection.wrapAt([0,1]) }; super.value_( val ); } valueAction_ { |val| if( val.size != 2 ) { val = val.asCollection.wrapAt([0,1]) }; ...
-
... e diffs multiple times. // imu.value = imu.value; MFdef(\setRelInf).( (0..diffs.size-1), // imu is chans 0-8 diffs, NTMI.inphlux.inScaler * NTMI.nUFO.zoom ); }, false); MFdef(\nUFOImuFunc).disable(\setRel); ); ( ///// MFdef(\capsToInph).dis ...
-
... serView ?? { UserView(w = Window.new.front,bounds ?? {w.bounds.moveTo(0,0)}) .resize_(5) .drawFunc_({ arg v; this.bounds = v.bounds; this.draw }); }; bounds = bounds ?? {userView.bounds}; spec = spec ?? {ControlSpec(0, 1, 'linear', 0, 0.5, ...
-
... ys=6, mul=1.0, add=0.0; var out, numCh, maxDelayTime=0.05; out = in; numCh = in.size; numDelays.do({ out = AllpassN.ar( out, maxDelayTime, (numCh > 0).if({ // if in is multi channel, make seperate delay time for each channel Array.fill( num ...
-
... al application : // dict[key=>value, ... ] or [ args1, nil, arg3 , ...] if(args.size == 1 and: { args.first.isKindOf(Dictionary) }, { args = args.first }); ^PappliedInstr(this, args) } // set the directory where your library of Instr is to ...
-
... aspects of this class could be made more flexible; supporting different display sizes, keyboard layouts, and ways of switching between several KeyPlayers may be useful. Dragging and dropping actions could also be supported; not sure how to ...