MidiSendNoteOn

C# Methods Reference

Signature

public void MidiSendNoteOn(Guid deviceId, int channel, int note, int velocity, int duration = 0, bool sendNoteOff = false)

Parameters

deviceId
Guid required
channel
int required
note
int required
velocity
int required
duration
int
Default:
0
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);