aboutsummaryrefslogtreecommitdiff
path: root/include/adlmidi.h
diff options
context:
space:
mode:
authorVitaly Novichkov <admin@wohlnet.ru>2018-07-04 00:25:35 +0300
committerVitaly Novichkov <admin@wohlnet.ru>2018-07-04 00:25:35 +0300
commit90f8b60438d59a1871a5ebf80a279c0eeea7a1a7 (patch)
tree12e93777576986b5fd5e72d1053d83908cb622eb /include/adlmidi.h
parent0c080d6a4d843f37f17441bb7ea628c9bfa09119 (diff)
downloadlibADLMIDI-90f8b60438d59a1871a5ebf80a279c0eeea7a1a7.tar.gz
libADLMIDI-90f8b60438d59a1871a5ebf80a279c0eeea7a1a7.tar.bz2
libADLMIDI-90f8b60438d59a1871a5ebf80a279c0eeea7a1a7.zip
Added instrument rhythm-mode related enums into the public header
Diffstat (limited to 'include/adlmidi.h')
-rw-r--r--include/adlmidi.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/include/adlmidi.h b/include/adlmidi.h
index bf146db..3345fe6 100644
--- a/include/adlmidi.h
+++ b/include/adlmidi.h
@@ -408,10 +408,28 @@ typedef enum ADL_InstrumentFlags
ADLMIDI_Ins_Pseudo4op = 0x02,
/* Is a blank instrument entry */
ADLMIDI_Ins_IsBlank = 0x04,
+
+ /* RythmMode flags mask */
+ ADLMIDI_Ins_RhythmModeMask = 0x38,
+
/* Mask of the flags range */
ADLMIDI_Ins_ALL_MASK = 0x07,
} ADL_InstrumentFlags;
+typedef enum ADL_RhythmMode
+{
+ /* RythmMode: BassDrum */
+ WOPL_RM_BassDrum = 0x08,
+ /* RythmMode: Snare */
+ WOPL_RM_Snare = 0x10,
+ /* RythmMode: TomTom */
+ WOPL_RM_TomTom = 0x18,
+ /* RythmMode: Cymbell */
+ WOPL_RM_Cymball = 0x20,
+ /* RythmMode: HiHat */
+ WOPL_RM_HiHat = 0x28
+} ADL_RhythmMode;
+
typedef struct ADL_Operator
{
/* AM/Vib/Env/Ksr/FMult characteristics */