From 90f8b60438d59a1871a5ebf80a279c0eeea7a1a7 Mon Sep 17 00:00:00 2001 From: Vitaly Novichkov Date: Wed, 4 Jul 2018 00:25:35 +0300 Subject: Added instrument rhythm-mode related enums into the public header --- include/adlmidi.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'include') 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 */ -- cgit v1.2.3