Gets the current bank number (1-4)
Sets the current bank (1..4)
Triggers bankChange
event.
Gets the current input port
Gets the current output port
Returns the current state
Adds event listener.
Events
Event name
Event handler
Protected
fireFire event
Type of event
Arguments for event
Yields all encooders within the specified bank number. If no bank number is given, current bank is used
Optional
bank: numberGets an encoder by its index and bank. If no bank is specified, the current is used.
mf.getEncoder(4); // Get encoder #4 on current bank
mf.getEncoder(4, 2); // Get encoder #4 from bank #2
Encoder number (1..16)
Optional
bank: numberBank number (1..4)
Encoder
Remove event listener
Sends a message to the output port associated with this instance. If there's no output port, message is dropped and false returned.
Sets a port for this instance to use. This will need to be called separately for the input and output ports
Channel bank change events are received on
Readonly
encodersIf true, messages sent to Midi Fighter are printed to console
Channel side button press events are received on
Connects to a DJ Tech Tools Midi Fighter controller.
Use the 'state' event and wait for state to be 'ready'.
Assumes default settings are loaded on the controller
Supports
Events: