-
... OfLife Unit Library. If not, see <http://www.gnu.org/licenses/>. */ // a pseudo-ugen to play a BufSndFile from inside a Unit. // auto-creates a control with the name <key> (default: bufSoundFile), format: // [ bufnum, rate, loop ] BufSndFil ...
-
... OfLife Unit Library. If not, see <http://www.gnu.org/licenses/>. */ // a pseudo-ugen to play a BufSndFile from inside a Unit. // auto-creates a control with the name <key> (default: bufSoundFile), format: // [ bufnum, rate, loop ] BufSndFil ...
-
... }, \demand, { trigger = TDuty.ar( trigger ); // audio rate precision for demand ugens index = Stepper.ar( trigger, 0, 0, n-1 ); }, { ^PlayBuf.ar( numChannels, bufnum, rate, trigger, startPos, loop ); } // bypass ); on = n.collect({ |i| //on ...
-
/* TestPV_ChainUGen.run UnitTest.gui */ TestPV_ChainUGen : UnitTest { // This test manually creates an FFT frame equivalent to pure white noise, // on which certain ugens' action should be a no-op test_whiteframe_noop { var fakeframe; // Ev ...
-
... ventions: \n\n" ++ ".) \tFor source and fx SynthDefs there must be only one out ugen " ++ "using 'out' as bus arg, \n" ++ "\tLocalOut is allowed, other out ugens can be admitted by \\otherBusArgs. \n" ++ ".) \tSource SynthDefs must not have ...
-
// wslib 2010 Unwrap { // pseudo kr-ugen for retreiving wrapped signals /* example: ( { var sig, wrapped; sig = SinOsc.kr( Line.kr(5,20,1), 0, 0.5); wrapped = Wrap.kr( sig, -0.1, 0.1 ); [ sig, wrapped, Unwrap.kr( wrapped, -0.1, 0.1 ) ]; }.p ...
-
// sc3-dot - rd (2004-2024) // Generate and view dot language graph files of UGen graphs. // Use the draw method at Function to make a drawing of the SC2 "analog bubbles" example. // It's nicest if there's an editor command to add {}.draw a ...
-
+ UGen { thresh2 { |function, adverb| ^this * (this.abs >= function) } }
-
GLighting : UGen { *gr { arg on = 1; ^this.multiNew ('audio', on); } }
-
... ar <>tableSize = 4096, <>range = 100; classvar <>buffer, <>synthdef; *new { if( UGen.buildSynthDef != synthdef ) { synthdef = UGen.buildSynthDef; ^this.createBuffer } { ^buffer }; } *createBuffer { // "buffer created".postln; ^buffer = Loca ...