-
// Main Class of the Chordtris Game Chordtris { // game instance classvar instance; // menu item to pause the game classvar <pauseItem; // menu item to resume the game classvar <resumeItem; // The Window Chordtris is displayed in var <windo ...
-
/// How to add your own control interface to NTMI: // - see whether it is supported by Modality-toolkit // does any entry in this list look like it? MKtlDesc.postLoadable; // If not, and you would like to add it to modality, // please start ...
-
API a lightweight Application Programming Interface An API is a way to encapsulate all of the publically callable functions for a single application, composition, piece, class, service etc. in one universally accessible place. API can be us ...
-
... receiveDragHandler') },{ this.handleByFocused('receiveDragHandler',[]) }) }; // keys view.keyDownAction_({ arg me,char,modifiers,unicode,keycode; this.handleByFocused('keyDownAction',[char,modifiers,unicode,keycode]).notNil }); view.keyUpAc ...
-
... tVals = this.unmap( inView[ \val ] ); }; }; }); } ) }; menu = Menu( *operations.keys.select({ |key| if( filter.isNil ) { true } { filter.includes( key ); }; }).collect({ |key| makeItem.( key ) }) ).title_( "%".format( inView[ \label ] ) ); ...
-
... utton(win, Rect((pw+2)*5+po, 20, pw/2, 20)).states_( [["Off"]]++DataFilterNotch.keys.collect{|x| [x.asString+"Hz"]} ).action_{|v| if(v.value>0, { notchFilters= { DataFilterNotch( DataFilterNotch.keys[v.value-1], board.currentSampleRate, boa ...
-
CONTROLLER NAMING CONVENTIONS - for discussion *device category pad controller wireless pad controller ribbon controller keyboard keyboard controller faderbox/faderpack ?? rotary controller gamepad joystick dj controller mixer controller ma ...
-
... <>gap = 2, <>fontSpecs = #["Helvetica", 10]; classvar >font, <backColors, blackKeys; var <mainView, <chanText, // which channel? <dragViews, // one per key minNoteFloor, maxNoteCeil; // to position views correctly *initClass { StartUp.add( ...
-
... <>gap = 2, <>fontSpecs = #["Helvetica", 10]; classvar >font, <backColors, blackKeys; var <mainView, <chanText, // which channel? <dragViews, // one per key minNoteFloor, maxNoteCeil; // to position views correctly *initClass { StartUp.add( ...
-
LinearSpline { // : AbstractFunction var <>points,<>isClosed; *new { |points,isClosed=false| ^super.newCopyArgs(points.collect(_.asArray),isClosed) } storeArgs { ^[points,isClosed] } simplifyStoreArgs { |args| ^args } value { arg u; var arg ...