Merge pull request #6 from dacodekid/master

Fix sendChannelMessage Signature on SendNoteOn/Off
This commit is contained in:
lathoub 2019-02-23 08:41:05 +01:00 committed by GitHub
commit 3db6908619
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -277,11 +277,11 @@ namespace Midi {
public:
// sending
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) {
sendChannelMessage(MidiType::NoteOff, channel, note, velocity);
sendChannelMessage(MidiType::NoteOff, note, velocity, channel);
}
void sendProgramChange(DataByte number, Channel channel) {