-
KeyChain a named chain of actions. A KeyChain is a named chain of actions. It can run these in sequence, or based on transition functions. It can be used nicely with KeyPlayer . // a single function a = KeyChain ($a, [(key: \x , act: { "act ...
-
... { specs.parent = this.getHalo(\specObject).getSpec; } updateSliderSpecs { |editKeys| editKeys.do { |key, i| var currVal, newSpec; var widge = this.widgets[i]; if (widge.isKindOf(EZSlider) or: { widge.isKindOf(EZRanger) }) { currVal = objec ...
-
... ; nodeOrder = nodeOrder.add(key); conn[\resolved] = true; }; }; this.proxyspace.keysValuesDo(traverse); ^nodeOrder } // I think I don't need constant proxies here // bc they will render as NamedControl, no need to make an antecedent getChai ...
-
+ 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 ...
-
... ; 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 ...