22 #ifndef FREESCAPE_WB_H 23 #define FREESCAPE_WB_H 25 #include "audio/audiostream.h" 26 #include "common/types.h" 28 #include "freescape/music.h" 35 int8 decodeOrderTranspose(byte cmd);
38 byte decodeTickSpeed(byte cmd);
41 byte decodeDuration(byte cmd);
53 byte buildArpeggioTable(
const byte intervals[8], byte mask, byte *outTable, byte maxLen,
bool includeBase);
60 uint32 samplePtrTable;
61 uint32 instrumentTable;
62 uint32 arpeggioIntervals;
65 uint32 patternPtrTable;
84 int songNum = 1,
int rate = 44100,
92 uint32 arpeggioIntervals;
93 uint32 instrumentTable;
95 uint32 patternPtrTable;
99 bool noiseFollowsInstrument;
105 int8 sweepNoiseDelta;
Definition: audiostream.h:50
MusicPlayer * makeWallyBebenAtariPlayer(const byte *data, uint32 dataSize, const WBAtariTableOffsets &offsets, int songNum=1)
Audio::AudioStream * makeWallyBebenStream(const byte *data, uint32 dataSize, int songNum=1, int rate=44100, bool stereo=true, const WBTableOffsets *offsets=nullptr)