-
... s }; actions.add(name, action); if (butz.notNil) { this.setButton(actions.names.indexOf(name)); } } *remove { |name| actions.removeAt(name); if (butz.notNil) { this.updateButtons } } *clear { actions.clear; this.updateButtons; } *show { if ...
-
HIDMap : Radicles { classvar <hidNodes, <hidIDs, <hidCmds, <hidInfoArr, hidIndex=0, <lagArr; *map {arg ndef, key=\freq, type=\midicc, spec=[-1,1], extraArgs, func, mul=1, add=0, min, val, warp, lag, action, defaultVal; var hidMap, keyVals, ...
-
... all.keys.as( Array ).sort } addArgSpec { |argSpec, replaceIfExists = false| var index; if( argSpec.notNil ) { argSpec = argSpec.asArgSpec; }; index = argSpecs.detectIndex({ |item| item.name == argSpec.name }); if( index.isNil ) { argSpecs = ...
-
... set } } //uses a pattern of indices to walk through a MarkovDict. uses wrapped indexing. Pmswitch : Pfsm2 { var <>which; *new { arg markovset, which, repeats=1; ^super.new(markovset, repeats).which_(which) } embedInStream { arg inval; var ...
-
... all.keys.as( Array ).sort } addArgSpec { |argSpec, replaceIfExists = false| var index; if( argSpec.notNil ) { argSpec = argSpec.asArgSpec; }; index = argSpecs.detectIndex({ |item| item.name == argSpec.name }); if( index.isNil ) { argSpecs = ...
-
... nts.nodeEvent)[\hasGate] = false; CVEvent.controlBusEvent = ( play: #{ var cvs, index, server, bundle, size; ~server = server = ~server ?? {Server.default}; ~finish.value; cvs = ~cvs.asArray; index = ~index; if (index.isNil) { ~bus = Bus.co ...
-
... inval; ^nextFunc.value(inval, array) } reset { ^resetFunc.value(array) } at { |index| ^array[index] } put { |index, value| array.put(index, value.asStream) } // array is assumed to be streampairs a la Pbind atKey { |key| // error should be ...
-
... inval; ^nextFunc.value(inval, array) } reset { ^resetFunc.value(array) } at { |index| ^array[index] } put { |index, value| array.put(index, value.asStream) } // array is assumed to be streampairs a la Pbind atKey { |key| // error should be ...
-
// W. Snoei 2005 + SCWindow { // SC2 methods views { ^view.children } at { |index| ^view.at(index) } @ { |index| ^view.at(index) } //// window code generator: // only the window asCode { |varName = "w"| ^( varName.asString ++ " = GUI.window ...
-
... ackVolumes, stepsValues; var globalRButt, singularRButt, local, setToTopButt, slIndex; var numberBoxArray, generateNumBoxArray; var soundFuncArray, playFuncsArray; var outbus, inbus, globalvol, playFunc, createScalesWin; var createCodeWin, ...