-
... r[duration] }); ^(duration).asFraction(50, false); } *initClass { rhythmToDur = IdentityDictionary[ \q -> 0.25, \qd -> 0.25, \qdd -> 0.25, \e -> 0.125, \ed -> 0.125, \edd -> 0.125, \s -> 0.0625, \sd -> 0.0625, \sdd -> 0.0625, \t -> 0.03125, ...
-
CVSync { classvar <>all; var <>cv, <>view; *initClass {all = IdentityDictionary.new } *new { | cv, view | ^super.newCopyArgs(cv, view).init } init { this.linkToCV; this.linkToView; this.update(cv, \synch); } linkToCV { cv.addDependant(this) ...
-
... 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */"; *initClass{ unitDict=IdentityDictionary[ // from AudioUnitProperties.h \Generic->0, /* untyped value generally between 0.0 and 1.0 */ \Indexed-> 1, /* takes an integer value (good f ...
-
... time, replyAddr, recvPort) }; }; thisProcess.addOSCRecvFunc(~respFunc); ~data = IdentityDictionary.new; // save all incoming data by oscpath if(~labels.isNil) { ~labels = IdentityDictionary.new }; ~setDataKeys.(); if(~keepAlive) { ~startAli ...
-
... makeSetBundle { |selector(\set), bundle(OSCBundle.new) ... argList| var nodes = IdentityDictionary.new; var doMap = { |map, key, value| var i, msg; map.keysValuesDo { |ctlname, set| set.do { |object| var old; old = object.argAt(ctlname); if ...
-
... f({Color.red}, {Color.red(0.5, 0.5)})}; background = Color.white; selectModes = IdentityDictionary[ \nextNeighbour -> {|view, data, pos, itemSize| var threshold, index, selected; threshold = itemSize*2; index = data.detectIndex{|item| (item ...
-
... = TempoClock(120/60, queueSize: 2048 * 2).permanent_(true); timelineRegister = IdentityDictionary.new; midiFuncRegister = Array.new; } add { arg function, timeline, timelineOptions = (); timeline = timeline.asTimeline(clock, timelineOption ...
-
... Chain; var <checkingBadValues = true, <badSynth, badDefName; *initClass { all = IdentityDictionary.new; } *default { ^all[Server.default.name] } // only one masterfx per server ATM. // This could be changed if different MasterFX // for diff ...
-
... ), which would shadow these keys and never reach them via // doesNotUnderstand. IdentityDictionary has no such methods, so with know_(true) it // exercises the same key-lookup doesNotUnderstand path a real Synth would take. var mockSynth = ...
-
... mage { classvar <>imageDict; var image; var <filePath; *initClass { imageDict = IdentityDictionary(); } *new { |filePath| ^super.new.init( filePath ); } init { |inFilePath| if( inFilePath.notNil ) { filePath = inFilePath.getGPath; if( image ...