ReactOS
0.4.17-dev-934-g091855f
dmusic_midi.h
Go to the documentation of this file.
1
/*
2
* Copyright 2023 Rémi Bernon for CodeWeavers
3
*
4
* This program is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU Lesser General Public
6
* License as published by the Free Software Foundation; either
7
* version 2.1 of the License, or (at your option) any later version.
8
*
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* Lesser General Public License for more details.
13
*
14
* You should have received a copy of the GNU Lesser General Public
15
* License along with this program; if not, write to the Free Software
16
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17
*/
18
19
#include "stdarg.h"
20
#include "stddef.h"
21
22
#include "
windef.h
"
23
#include "
winbase.h
"
24
25
enum
midi_message
26
{
27
MIDI_NOTE_OFF
= 0x80,
28
MIDI_NOTE_ON
= 0x90,
29
MIDI_KEY_PRESSURE
= 0xa0,
30
MIDI_CONTROL_CHANGE
= 0xb0,
31
MIDI_PROGRAM_CHANGE
= 0xc0,
32
MIDI_CHANNEL_PRESSURE
= 0xd0,
33
MIDI_PITCH_BEND_CHANGE
= 0xe0,
34
MIDI_SYSEX1
= 0xf0,
35
MIDI_SYSEX2
= 0xf7,
36
MIDI_SYSTEM_RESET
= 0xff,
37
MIDI_META
= 0xff,
38
};
39
40
enum
midi_control
41
{
42
MIDI_CC_BANK_MSB
= 0x00,
43
MIDI_CC_BANK_LSB
= 0x20,
44
};
midi_control
midi_control
Definition:
dmusic_midi.h:41
MIDI_CC_BANK_MSB
@ MIDI_CC_BANK_MSB
Definition:
dmusic_midi.h:42
MIDI_CC_BANK_LSB
@ MIDI_CC_BANK_LSB
Definition:
dmusic_midi.h:43
midi_message
midi_message
Definition:
dmusic_midi.h:26
MIDI_PITCH_BEND_CHANGE
@ MIDI_PITCH_BEND_CHANGE
Definition:
dmusic_midi.h:33
MIDI_NOTE_ON
@ MIDI_NOTE_ON
Definition:
dmusic_midi.h:28
MIDI_PROGRAM_CHANGE
@ MIDI_PROGRAM_CHANGE
Definition:
dmusic_midi.h:31
MIDI_SYSEX2
@ MIDI_SYSEX2
Definition:
dmusic_midi.h:35
MIDI_CONTROL_CHANGE
@ MIDI_CONTROL_CHANGE
Definition:
dmusic_midi.h:30
MIDI_SYSEX1
@ MIDI_SYSEX1
Definition:
dmusic_midi.h:34
MIDI_META
@ MIDI_META
Definition:
dmusic_midi.h:37
MIDI_SYSTEM_RESET
@ MIDI_SYSTEM_RESET
Definition:
dmusic_midi.h:36
MIDI_KEY_PRESSURE
@ MIDI_KEY_PRESSURE
Definition:
dmusic_midi.h:29
MIDI_NOTE_OFF
@ MIDI_NOTE_OFF
Definition:
dmusic_midi.h:27
MIDI_CHANNEL_PRESSURE
@ MIDI_CHANNEL_PRESSURE
Definition:
dmusic_midi.h:32
winbase.h
windef.h
dll
directx
wine
dmusic
dmusic_midi.h
Generated on Sat Sep 26 2026 06:04:47 for ReactOS by
1.9.6