Constructor
new EventMidi($type, $code, $midi)
- Description:
- Creates a new MIDI event.
- Source:
Example
const event = new EventMidi(type, code, midi);
Parameters:
| Name | Type | Description |
|---|---|---|
$type |
EVENT_TYPES.MIDI.MIDI_OUTPUT | The event type. |
$code |
string | The event code. |
$midi |
Midi | The MIDI message. |
Members
code :string
- Description:
- Gets the event code.
- Source:
Gets the event code.
Type:
- string
midi :Midi
- Description:
- Gets the MIDI message.
- Source:
Gets the MIDI message.