-
... n the size of zeroX and the latter contains demand rate ugens, they must all be wrapped into Functions for being used more than once. Defaults to 0. power - Used for processing the buffer signal according to the formula: sig ** power * mul ...
-
... snd= VDiskIn.ar(n, buf, rate*BufRateScale.ir(buf), loo, id); var mix= SynthDef.wrap(this.prMix, nil, [snd]); FreeSelfWhenDone.kr(snd); Out.ar(out, mix*amp.lag*env); }).add; }; } prMix { ^{|snd| Mix.ar(snd)}; } } PlayFileDiskStereo : PlayFi ...
-
... "}{"++max++"}{"++interval++"}\n"; shades = shades.switch( true, {{|index| index.wrap(0, 7)+1}}, false, {1}, // default, return the user-specified function (or number, or whatever): shades ); vals.do{|assoc, index| str = str ++ "\\bar{"++pre ...
-
... 0 ).max(0); if( loop.isUGen ) { ^Select.kr( loop, [ phasor.clip(0,dur), phasor.wrap(0,dur), phasor.fold(0,dur) ]); } { ^switch( loop.asInteger, 0, { phasor.clip(0,dur); }, 1, { phasor.wrap(0,dur); }, 2, { phasor.fold(0,dur); } ); }; } *ar ...
-
... 0 ).max(0); if( loop.isUGen ) { ^Select.kr( loop, [ phasor.clip(0,dur), phasor.wrap(0,dur), phasor.fold(0,dur) ]); } { ^switch( loop.asInteger, 0, { phasor.clip(0,dur); }, 1, { phasor.wrap(0,dur); }, 2, { phasor.fold(0,dur); } ); }; } *ar ...
-
... // reverse index pattern ~w = PLseq ((7..0)); // keep in mind that indices are wrapped, no surprise here ... ~a = (70,72..84); // ... but with shorter array indices are grouped in 5 + 3 ~a = (70,72..78); x.stop; ////////////////////// // p ...
-
... 100, 30), 'vfxChpre', [0, 99, \lin, 1], { |nb| // nb.value_(nb.value.asInteger.wrap(0, NTMI.mfx.pcpop.items.size - 1)); // NTMI.mfx.pcpop.valueAction_(nb.value); // }, labelWidth: 60).font_(NTMI.mfx.font); // NTMI.mfx.pcnum.numberView.keyD ...
-
... ctive = (play: false, stop: false, return: false ); // buttons: (these could be wrapped in a standardized round button class later) // play button play = RoundButton( window, Rect( 10, 5, 120, 50 ) ) .states_( [ [ \play, Color.green(0.5), C ...
-
... t into array of parameter arrays arg ... z; // argument list; may or may not be wrapped in an array var oneSpec, allSpecs; z = z.flat; // remove all inner array wrapping (z.size == 0).if({ ^List.new // empty list for no specs }, { allSpecs ...
-
... o do: easier access to controlProxies // passive mode recorder - how to specify wrapper for BP? // - how to start/stop? Use MBM trigger button? // - on stop, need to unwrap and go // openly stealing from ChucK for high-level control of a pe ...