-
... at class. - Example - // define the network x = SWDataNetwork .new; // add some keys to the spec (SWDataNetwork forwards these methods to the spec): x.add( \accelerometer , 1 ); x.add( \acc_x , [1,0] ); x.add( \acc_y , [1,1] ); x.add( \acc_ ...
-
// Contributed by Nathan Ho. // updated for 0.9.0 by adc /* MKtlDesc.loadDescs("*oxygen49"); k.free; k = MKtl('o49', "m-audio-oxygen49"); k.trace.gui; a = Array.fill(9, 0); m = MultiSliderView().elasticMode_(1).size_(9).front; k.elAt(\sl).a ...
-
... 5, 7, 9, 11]), stepsPerOctave ? 12, root, tuning ? 0, cpsFunc).init; } *newFromKeys { arg keys, stepsPerOctave, tuning, cpsFunc; ^this.new(keys - keys.first, stepsPerOctave, keys.first, tuning, cpsFunc) } storeArgs { ^[scale, stepsPerOctav ...
-
// Novation Launchpad specs: // Mostly NoteOn / NoteOff, some cc messages, // no hardware scenes, flattened out with underscores /* MKtlDesc.loadDescs("*launchpad"); m.free; m = MKtl(\lp, "*launchpad"); m.gui; */ ( deviceName: "Launchpad", ...
-
... // use \orderNames in halo for maintaining non-alphabetic order of names controlKeys { var cKeys = this.getHalo(\orderedNames); if (cKeys.notNil) { ^cKeys }; cKeys = if (envir.notNil) { envir.keys(Array).sort } { [] }; ^cKeys; } } + TaskPro ...
-
... m); },{ menu = nil; if(menu.isNil,{ menu = CXMenu.new }); menu.nameFuncs = item.keys.asList.collect({ arg key; key->{ this.browse(item.at(key),item) } }); menu.gui(height:min(item.size*30,600)); menu.keyDownAction = (menu.keyDownResponder + ...
-
... mes | ^this.new.initWithDict(dict, server, argNames); } branchNames { ^branches.keys.asArray.sort } asDict { | addArgNames = true| ^( specs: this.values, relSpecs: this.relValues, baseSpecs: this.baseValues, branches: branches.collect(_.asD ...
-
// Novation Launchpad specs: // Mostly NoteOn / NoteOff, some cc messages, // no hardware scenes, flattened out with underscores /* MKtlDesc.loadDescs("*launchpad"); m.free; m = MKtl(\lp, "*launchpad"); m.gui; */ ( deviceName: "Launchpad S" ...
-
... == \radSource, { source = nil }, { outer.removeAt(key) }); } // anything else (keys, includesKey, ...) is answered by the outer environment doesNotUnderstand {arg selector ... args; ^outer.performList(selector, args); } }
-
... uSeparators, menu, checkedIndex; var uDefsDict = (); UMapDef.all !? { |all| all.keys.asArray.do({ |key| var category, index, udef; udef = all[ key ]; if( test.value( udef ) ) { category = udef.category; if( UChainGUI.showPrivateUdefs or: { ...