Instances of this interface are used to setup handler functions for incoming MIDI messages from a specific MIDI hardware.
- Since
- API version 1
Definition at line 12 of file MidiIn.java.
| NoteInput createNoteInput |
( |
String |
name, |
|
|
String... |
masks |
|
) |
| |
Creates a note input that appears in the track input choosers in Bitwig Studio. This method must be called within the init() function of the script. The messages matching the given mask parameter will be fed directly to the application, and are not processed by the script.
- Parameters
-
| name | the name of the note input as it appears in the track input choosers in Bitwig Studio |
| masks | a filter string formatted as hexadecimal value with ? as wildcard. For example 80???? would match note-off on channel 1 (0). When this parameter is {}, a standard filter will be used to forward note-related messages on channel 1 (0). |
If multiple note input match the same MIDI event then they'll all receive the MIDI event, and if one of them does not consume events then the events wont' be consumed.
- Returns
- the object representing the requested note input
- Since
- API version 1