ScummVM API documentation
Miles and XMIDI

Description

API for managing XMIDI files used by Miles Sound System.

Classes

struct  Audio::MilesMT32InstrumentEntry
 
class  Audio::MidiDriver_Miles_Xmidi_Timbres
 
class  Audio::MidiDriver_Miles_Midi
 

Macros

#define MILES_CONTROLLER_SELECT_PATCH_BANK   114
 
#define MILES_CONTROLLER_PROTECT_VOICE   112
 
#define MILES_CONTROLLER_PROTECT_TIMBRE   113
 
#define MILES_CONTROLLER_LOCK_CHANNEL   110
 
#define MILES_CONTROLLER_PROTECT_CHANNEL   111
 
#define MILES_CONTROLLER_PITCH_RANGE   6
 
#define MILES_CONTROLLER_PATCH_REVERB   59
 
#define MILES_CONTROLLER_PATCH_BENDER   60
 
#define MILES_CONTROLLER_REVERB_MODE   61
 
#define MILES_CONTROLLER_REVERB_TIME   62
 
#define MILES_CONTROLLER_REVERB_LEVEL   63
 
#define MILES_CONTROLLER_RHYTHM_KEY_TIMBRE   58
 
#define MILES_CONTROLLER_SYSEX_RANGE_BEGIN   32
 
#define MILES_CONTROLLER_SYSEX_RANGE_END   46
 
#define MILES_CONTROLLER_SYSEX_QUEUE_COUNT   3
 
#define MILES_CONTROLLER_SYSEX_QUEUE_SIZE   32
 
#define MILES_CONTROLLER_SYSEX_COMMAND_ADDRESS1   0
 
#define MILES_CONTROLLER_SYSEX_COMMAND_ADDRESS2   1
 
#define MILES_CONTROLLER_SYSEX_COMMAND_ADDRESS3   2
 
#define MILES_CONTROLLER_SYSEX_COMMAND_DATA   3
 
#define MILES_CONTROLLER_SYSEX_COMMAND_FINAL_DATA   4
 
#define MILES_CONTROLLER_XMIDI_RANGE_BEGIN   110
 
#define MILES_CONTROLLER_XMIDI_RANGE_END   120
 
#define MILES_MT32_PATCHES_COUNT   128
 
#define MILES_MT32_CUSTOMTIMBRE_COUNT   64
 
#define MILES_MT32_PATCHDATA_COMMONPARAMETER_SIZE   14
 
#define MILES_MT32_PATCHDATA_PARTIALPARAMETER_SIZE   58
 
#define MILES_MT32_PATCHDATA_PARTIALPARAMETERS_COUNT   4
 
#define MILES_MT32_PATCHDATA_TOTAL_SIZE   (MILES_MT32_PATCHDATA_COMMONPARAMETER_SIZE + (MILES_MT32_PATCHDATA_PARTIALPARAMETER_SIZE * MILES_MT32_PATCHDATA_PARTIALPARAMETERS_COUNT))
 
#define MILES_DEFAULT_SOURCE_NEUTRAL_VOLUME   256
 

Enumerations

enum  MilesVersion { MILES_VERSION_2 = 2, MILES_VERSION_3 }
 

Functions

MidiDriver_MultisourceAudio::MidiDriver_Miles_AdLib_create (const Common::Path &filenameAdLib, const Common::Path &filenameOPL3, Common::SeekableReadStream *streamAdLib=nullptr, Common::SeekableReadStream *streamOPL3=nullptr)
 
MidiDriver_Miles_MidiAudio::MidiDriver_Miles_MT32_create (const Common::Path &instrumentDataFilename)
 
MidiDriver_Miles_MidiAudio::MidiDriver_Miles_MIDI_create (MusicType midiType, const Common::Path &instrumentDataFilename)