Merge pull request #6 from dacodekid/master
Fix sendChannelMessage Signature on SendNoteOn/Off
This commit is contained in:
commit
3db6908619
|
|
@ -277,11 +277,11 @@ namespace Midi {
|
||||||
public:
|
public:
|
||||||
// sending
|
// sending
|
||||||
void sendNoteOn(DataByte note, DataByte velocity, Channel channel) {
|
void sendNoteOn(DataByte note, DataByte velocity, Channel channel) {
|
||||||
sendChannelMessage(MidiType::NoteOn, channel, note, velocity);
|
sendChannelMessage(MidiType::NoteOn, note, velocity, channel);
|
||||||
}
|
}
|
||||||
|
|
||||||
void sendNoteOff(DataByte note, DataByte velocity, Channel channel) {
|
void sendNoteOff(DataByte note, DataByte velocity, Channel channel) {
|
||||||
sendChannelMessage(MidiType::NoteOff, channel, note, velocity);
|
sendChannelMessage(MidiType::NoteOff, note, velocity, channel);
|
||||||
}
|
}
|
||||||
|
|
||||||
void sendProgramChange(DataByte number, Channel channel) {
|
void sendProgramChange(DataByte number, Channel channel) {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue