Send Note on
Signature
public void MidiSendNoteOn(Guid deviceId, int channel, int note, int velocity, int duration = 0, bool sendNoteOff = false)
Parameters
deviceId
Guid required
No description provided.
channel
int required
No description provided.
note
int required
No description provided.
velocity
int required
No description provided.
duration
int
Default:
0
No description provided.
sendNoteOff
bool
Default:
False
No description provided.
Return Type
void
Example
CPH.MidiSendNoteOn(deviceId, channel, note, velocity);
CPH.MidiSendNoteOn(deviceId, channel, note, velocity, duration, sendNoteOff);