22 #ifndef AGOS_SIMON1_ADLIB_H 23 #define AGOS_SIMON1_ADLIB_H 25 #include "audio/adlib_ms.h" 31 struct RhythmMapEntry {
49 void noteOn(uint8 channel, uint8 note, uint8 velocity, uint8 source)
override;
50 void programChange(uint8 channel, uint8 program, uint8 source)
override;
58 void disableMusicRhythmNotes();
61 static const RhythmMapEntry RHYTHM_MAP[];
62 static const uint16 FREQUENCY_TABLE[];
64 uint8 allocateOplChannel(uint8 channel, uint8 source, uint8 instrumentId)
override;
65 uint16 calculateFrequency(uint8 channel, uint8 source, uint8 note)
override;
66 uint8 calculateUnscaledVolume(uint8 channel, uint8 source, uint8 velocity,
68 void parseInstrumentData(
const byte *instrumentData);
71 bool _musicRhythmNotesDisabled;
Definition: mididrv_ms.h:86
void programChange(uint8 channel, uint8 program, uint8 source) override
void deinitSource(uint8 source) override
Definition: adlib_ms.h:289
OplType
Definition: fmopl.h:58
void noteOn(uint8 channel, uint8 note, uint8 velocity, uint8 source) override
Definition: adlib_ms.h:79