-
GamePad add your own controllers/classes For some GamePad models, classe have been written already. For other models, you will have to make your own map of which button uses which ID number or 'cookie'. ( GamePad .startHID(0); // read all U ...
-
SCLOrkEmojiMenu : Menu { var trieNode; var searchString; var isPopulated; var pickerCallback; *newRoot { |pickerCallback| SCLOrkEmoji.load; ^SCLOrkEmojiMenu.new(SCLOrkEmoji.trie.dictionary, "", pickerCallback, true); } // For the root menu ...
-
... I live trace { this.isPlaying.if({ synth.trace }) } map { arg name, bus; // do mapping for this node synth.notNil.if({ synth.map(name, bus); }); } mapArgsMsg { // assumes synth is loaded var mapMsg; // if nothing's in the globalControls di ...
-
/* \point_speed Creates an UMap for measuring the speed of a point (or point UMap) and convert it to a value. point: the point fromRange: the speed range from which the output value will be calculated toRange: the value range to which the s ...
-
... typed, \hid]) and: { Ndef('track2').get('volume') == -12 } } ); // A controller mapping (here OSC) runs its code with the source \osc. ~radTest.("controller-source", setup: ["start 2"], code: { var capture = Radicles.postCapture; ~radSrcLog ...
-
ListeningClock a clock that listens to other clocks Inherits from: Object : Clock : TempoClock : SoftClock ListeningClock implements phase and frequency adjustment to a number of other clocks. This can be useful to synchronise ensembles in ...
-
/* \index_of_nearest Creates an UMap that can compare a number of input values against a single given value. The UMap will output the index of the value nearest to the 'nearestTo' value. vals: the values to test nearestTo: the value to comp ...
-
/* \pulse_counter This UMapDef implements a pulse counter. trigger: the trigger to be counted reset: a trigger resets the count max: the maximum value to be counted step: the size of the steps (can be negative too) startValue: the value fro ...
-
/* \pulse_counter This UMapDef implements a pulse counter. trigger: the trigger to be counted reset: a trigger resets the count max: the maximum value to be counted step: the size of the steps (can be negative too) startValue: the value fro ...
-
... usePos; }; ^mousePos } // Maps the X position of the cursor to a scale getXMouseMapping { |mousePos, min, max, scale, invert = false, expMin = 0.001| mousePos = this.getXMousePos(mousePos, invert); // Special cases first if(mousePos == 0) { ...