-
+ Event { asFomusString { var outString = ""; this.keys.includes(\instrument).if({ outString = "part " ++ this[\instrument].asString }); this.keys.includes(\part).if({ outString = "part " ++ this[\part].asString }); this.keys.includes(\voic ...
-
... d2(this, blend, \left, specs, warnIfSpecMissing); }; res = this.class.new; this.keysValuesDo { |key, lval| var newval; var rval = dict2[key]; var spec = specs ? Spec.specs[key]; if (rval.isNil) { if (mode != \sect) { res.put(key, lval) }; } ...
-
... { |name| var slot; this.name = name; map = (folder +/+ name++".spec").load; map.keysValuesDo{ |key,it| slot = this.at( key ); if ( slot.notNil, { slot.key = key; } ); } } copyFile{ |target| ("cp"+(folder +/+ name++".spec")+target).unixCmd; ...
-
/*** Example: k = MKtl('8mu', "*music_thing*"); k.elementAt(\sl, 0).action = { \yo.postln; }; k.elementAt(\sl, 1).action = { 1.postcs; }; ****/ ( deviceName: "Music Thing 8mu", protocol: 'midi', deviceType: \faderbox, elementTypes: [\fader, ...
-
// this fixes missing update with audio rate mapping + NodeProxy { put { | index, obj, channelOffset = 0, extraArgs, now = true | var container, bundle, orderIndex; if(obj.isNil) { this.removeAt(index); ^this }; if(index.isSequenceableColle ...
-
... Description Class methods verbose Inherited class methods Instance methods args keys argNames values setArg getArg findKeyForValue at put doesNotUnderstand archiveAsCompileString Inherited instance methods Examples Classes (extension) | Und ...
-
... ; var <valRange, <minval, <range; init { super.init; orderedCtlNames = ctlNames.keys.asArray.sort; lastVals = (); this.valRange = [0, 127]; } norm { |val| ^val - minval / range } valRange_ { |inRange| range = inRange[1] - inRange[0]; minval ...
-
Bufdef : BufFiles{ var <key, <>bufFiles; var <>inPath; classvar <>all; *new{ arg key, server, path, channel, normalize=true, actionWhenDone, verbose=true; var res = this.at(key); if(res.isNil) { res = super.new(server, path, channel, normal ...
-
... r.newCopyArgs(object, params).init; } init { params = params ?? { object.controlKeys }; nudgeDict = (); nudgeList = params.collect { |paramKey| var nudge = Nudge(object, paramKey); nudgeDict.put(paramKey, nudge); nudge; }; } at { |keyOrInde ...
-
... ing, unless explicitly excluded. // objects is a dictionary with user-definable keys to be able to keep track // of variants etc. classvar <>objects; classvar <hasStarted = false; classvar <isRunning = false; classvar <>verbose = true; *ini ...