Send Note on by Name

Signature

public void MidiSendNoteOnByName(string name, int channel, int note, int velocity, int duration = 0, bool sendNoteOff = false)

Parameters

name
string 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.MidiSendNoteOnByName(name, channel, note, velocity);
CPH.MidiSendNoteOnByName(name, channel, note, velocity, duration, sendNoteOff);