-
// relevant helpfiles: // relevant helpfiles: "Overviews/Modality".openHelpFile; MKtl.openHelpFile; // finding devices is as simple as: MKtl.find; // or for just one protocol: MKtl.find( 'hid' ); // needs 3.7dev MKtl.find( 'midi' ); // this ...
-
... 0.do { c.elAt(16.rand).deviceValueAction_(1024.rand); }; // the coding given in modality issues #177 seems to be : // 7 bits of value are crude wheel position value, // first 3 bits of note are extra precision, // last 4 bits of note are wh ...
-
... ebuild(~desc) // with new ~desc here>); // good that traceRunning is visible in Modality MKtl('nk').traceRunning; MKtl('nk').desc.openFile; MKtl('nk').desc.elementsDesc.keys; MKtl('nk').device; MKtl('nk').desc.postInfo(true); MKtl(\myOpi, " ...
-
// relevant helpfiles: "Overviews/Modality".openHelpFile; MKtl.openHelpFile; // finding devices is as simple as: MKtl.find; // or for just one protocol: MKtl.find( 'hid' ); // needs 3.7dev MKtl.find( 'midi' ); // this will print out a list ...
-
// to create a modal control, we will use MFunc from the adclib. // our simple use case: // we have two sliders that we use for continuous control of different synths. // the upper buttons of the icontrols select which synths the controls g ...
-
// this is an alternative version to modal_functionality_2, // aiming for a higher level implementation style, // using less code, allowing more flexibility, // but also requiring more conceptual thinking. // our simple use case: // we use ...
-
... invert the range ... Ndef(\x).addSpec (\freq, [20000, 200,\exp ]); // Now with Modality, control process params from an MKtl // make a midi MKtl: k = MKtl( 'icon', "*icontrols"); // none at hand? then get use its replacement gui: k.gui; // ...
-
... stln } { MFdef(\mainVolStep).value(diff.clip2(5)) }; }; /* top line buttons are modal: // click and release toggles de/coupling slot m.elAt('selMode', 0, \on).valueAction_(1); m.elAt('selMode', 0, \off).valueAction_(0); // click and turn ha ...
-
... unctions: rightmost slider 8 is mainVol motion sensors always go to influx **** modal functions: 4 buttons toggle sounds on/off, or when held, they set up modes for the sliders. slider Modes: no buttons held: -> sliders 1-7 got to influx sa ...
-
... l); j.valueAction_(nil); j.valueAction_('karli'); // NUMBER display, use MView (Modal/Multi-View). It can show 1, 2, or many numbers j = MView(nil, nil, Rect(10, 500, 300, 24)); // can enter new value j.putDict(\myspec, [0, 10].asSpec); j.p ...