22 #ifndef AUDIO_ADLIB_CTMIDI_H 23 #define AUDIO_ADLIB_CTMIDI_H 25 #include "audio/adlib_ms.h" 35 static const int8 INSTRUMENT_TRANSPOSE[128];
40 static const uint8 RHYTHM_NOTE_INSTRUMENT_MAP[47];
42 static const uint8 RHYTHM_NOTES[47];
45 static const uint16 CTMIDI_NOTE_FREQUENCIES[768];
47 static const int8 NOTE_VOLUME_MODIFIER_VALUES[18];
66 void programChange(uint8 channel, uint8 program, uint8 source)
override;
68 void writeFrequency(uint8 oplChannel, OplInstrumentRhythmType rhythmType)
override;
uint8 allocateOplChannel(uint8 channel, uint8 source, InstrumentInfo &instrumentInfo) override
Definition: adlib_ms.h:651
Definition: adlib_ms.h:295
void programChange(uint8 channel, uint8 program, uint8 source) override
uint16 calculateFrequency(uint8 channel, uint8 source, uint8 note) override
OplType
Definition: fmopl.h:58
Definition: adlib_ms.h:226
Definition: adlib_ctmidi.h:30
uint8 calculateUnscaledVolume(uint8 channel, uint8 source, uint8 velocity, const OplInstrumentDefinition &instrumentDef, uint8 operatorNum) override
void initRhythmDefaults()
Definition: adlib_ms.h:79
void writeFrequency(uint8 oplChannel, OplInstrumentRhythmType rhythmType) override
void deinitSource(uint8 source) override