diff options
author | cbdev <cb@cbcdn.com> | 2021-01-10 17:30:12 +0100 |
---|---|---|
committer | cbdev <cb@cbcdn.com> | 2021-01-10 17:30:12 +0100 |
commit | a3a893f6b8b6c10ff281fcdfe0b4a4ddafe89023 (patch) | |
tree | 9492b5c9960ec746afb0fa6acfdaa178cac121ca /backends/winmidi.h | |
parent | 7902842bd10b17d8d5b6bfc586f440299646d48c (diff) | |
download | midimonster-a3a893f6b8b6c10ff281fcdfe0b4a4ddafe89023.tar.gz midimonster-a3a893f6b8b6c10ff281fcdfe0b4a4ddafe89023.tar.bz2 midimonster-a3a893f6b8b6c10ff281fcdfe0b4a4ddafe89023.zip |
Implement program change control for the midi, winmidi and jack backends (Fixes #79)
Diffstat (limited to 'backends/winmidi.h')
-rw-r--r-- | backends/winmidi.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/backends/winmidi.h b/backends/winmidi.h index 4d3e2dd..40b3554 100644 --- a/backends/winmidi.h +++ b/backends/winmidi.h @@ -31,12 +31,13 @@ typedef struct /*_winmidi_instance_data*/ { enum /*_winmidi_channel_type*/ { none = 0, note = 0x90, - cc = 0xB0, pressure = 0xA0, + cc = 0xB0, + program = 0xC0, aftertouch = 0xD0, pitchbend = 0xE0, - rpn = 0xF0, - nrpn = 0xF1 + rpn = 0xF1, + nrpn = 0xF2 }; typedef union { |