22 #ifndef FREESCAPE_DARK_C64_MUSIC_H 23 #define FREESCAPE_DARK_C64_MUSIC_H 25 #include "audio/sid.h" 26 #include "freescape/music.h" 37 void startMusic()
override;
38 void stopMusic()
override;
39 bool isPlaying()
const override;
44 void sidWrite(
int reg, uint8 data);
50 void loadNextPattern(
int ch);
51 void buildEffectArpeggio(
int ch);
52 void loadCurrentFrequency(
int ch);
53 void finalizeChannel(
int ch);
56 void processChannel(
int ch,
bool newBeat);
57 void parseCommands(
int ch);
58 void applyNote(
int ch, uint8 note);
59 void applyFrameEffects(
int ch);
60 bool applySpecialAttack(
int ch);
61 bool applyEnvelopeSequence(
int ch);
62 bool applyInstrumentVibrato(
int ch);
63 void applyEffectArpeggio(
int ch);
64 void applyTimedSlide(
int ch);
65 void applyPWModulation(
int ch);
67 uint8 readPatByte(
int ch);
79 const uint8 *orderData;
103 uint8 arpSeqData[20];
106 uint8 noteStepCommand;
107 uint8 stepDownCounter;
118 bool gateOffDisabled;
119 bool gateModeControl;
133 #endif // FREESCAPE_DARK_C64_MUSIC_H
Definition: c64.music.h:32