SendMIDI
7/14/25Less than 1 minute
MIDI.SendMIDI(MIDIFunction function, number channel, number data1, number data2)
Create and send a MIDI message.
Parameters:
| Name | Type | Description |
|---|---|---|
| function | MIDIFunction | MIDI function. |
| channel | number | The MIDI channel [0-15] |
| data1 | number | Data1 byte [0-127] |
| data2 | number | Data2 byte [0-127] |
Usage
---@type MIDIFunction
local function;
---@type number
local channel;
---@type number
local data1;
---@type number
local data2;
MIDI:SendMIDI(function, channel, data1, data2)
