#include <adlib_ms.h>
Public Member Functions | |
void | toOplInstrumentDefinition (OplInstrumentDefinition &instrumentDef) |
Public Attributes | |
uint8 | instrumentType |
uint8 | rhythmVoiceNumber |
AdLibBnkInstrumentOperatorDefinition | operator0 |
AdLibBnkInstrumentOperatorDefinition | operator1 |
uint8 | waveformSelect0 |
uint8 | waveformSelect1 |
Instrument definition for an OPL2 chip in the format used by the AdLib BNK instrument bank file format.
void AdLibBnkInstrumentDefinition::toOplInstrumentDefinition | ( | OplInstrumentDefinition & | instrumentDef | ) |
Copies the data in this AdLib BNK instrument definition to the specified OplInstrumentDefinition struct.
instrumentDef | The instrument definition to which the data should be copied. |
uint8 AdLibBnkInstrumentDefinition::instrumentType |
The type of instrument (0x00: melodic, 0x01: rhythm).
uint8 AdLibBnkInstrumentDefinition::rhythmVoiceNumber |
TODO Unclear what this represents; might be the same as rhythmNote.
AdLibBnkInstrumentOperatorDefinition AdLibBnkInstrumentDefinition::operator0 |
Operator data.
uint8 AdLibBnkInstrumentDefinition::waveformSelect0 |
Waveform select parameter for each operator.