-
... } } *getEvent { |src, type ...args| var uids; while { args.last.isNil && { args.size > 0 } } { args.pop; }; if( src.isKindOf( Symbol ) ) { uids = this.findUIDs( src ); switch( uids.size, 0, { ^nil }, 1, { ^this.prGetEvent(uids[0], type, *ar ...
-
... ects within a world with gravity force and also collision detection //color and size depends on object's mass //sound - collision velocity mapped to amplitude, mass to dur and freq ( s.waitForBoot{ var width= 300, height= 300, w, wgrav, wor ...
-
... st value. trigger: switch to next value reset: return to first value step: step size reverse: if true, step backwards instead of forward range: min and max index to choose from lag: lag time between steps (linear lag) vals: the values of th ...
-
... ects within a world with gravity force and also collision detection //color and size depends on object's mass //sound - collision velocity mapped to amplitude, mass to dur and freq ( s.waitForBoot{ var width= 300, height= 300, w, wgrav, wor ...
-
... st value. trigger: switch to next value reset: return to first value step: step size reverse: if true, step backwards instead of forward range: min and max index to choose from lag: lag time between steps (linear lag) vals: the values of th ...
-
... atonic prDrawKey prDrawLeftKey prDrawMiddleKey prDrawRightKey prGetChromaticCaseSize prGetTimerColor prGetWhiteKeysNumber prUpdateBlinks Inherited instance methods Examples Classes (extension) | GUI > Graphical Module'>Graphical Module GMKe ...
-
... [0]; bus.add(Bus.audio(server, numSpeakers)); inbus = bus[bus.size-2]; outbus = bus.last; params = args[1]; p = [ \in, inbus, \out, outbus ] ++ params; synth = Synth.tail(group, name, p) ...
-
... We can make many attractive melodies ! ( c=13;a=Array.fib(64,0,1);b=Array.fill(size:c,function:{arg i;a[i]%12}); p=1/(21-c);Pdef(\x,Pbind(\dur,p,\degree,Pseq(b,1,0))); r=Array.fill(c,{arg i;Pbindf(Pdef(\x),\mtranspose,1-b[i]);}); Pseq(r ...
-
... level ); } { index = absTimes.detectIndex({ |item| item > time }) ?? { absTimes.size }; absTimes = absTimes.insert( index, time ); this.times = absTimes.differentiate[1..]; this.levels = this.levels.copy.insert( index, level ); }; } }
-
... level ); } { index = absTimes.detectIndex({ |item| item > time }) ?? { absTimes.size }; absTimes = absTimes.insert( index, time ); this.times = absTimes.differentiate[1..]; this.levels = this.levels.copy.insert( index, level ); }; } }