#include <adlib_ms.h>
Public Member Functions | |
void | toOplInstrumentDefinition (OplInstrumentDefinition &instrumentDef) |
Public Attributes | |
uint8 | o0FreqMultMisc |
uint8 | o1FreqMultMisc |
uint8 | o0Level |
uint8 | o1Level |
uint8 | o0DecayAttack |
uint8 | o1DecayAttack |
uint8 | o0ReleaseSustain |
uint8 | o1ReleaseSustain |
uint8 | o0WaveformSelect |
uint8 | o1WaveformSelect |
uint8 | connectionFeedback |
uint8 | rhythmType |
int8 | transpose |
uint8 | rhythmNote |
uint8 | padding1 |
uint8 | padding2 |
Instrument definition for an OPL2 chip in the format used by the IBK instrument bank file format. This format is also used by the SBI and CMF file formats.
void AdLibIbkInstrumentDefinition::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 AdLibIbkInstrumentDefinition::rhythmType |
Rhythm note type. 0: melodic, 6: bass drum, 7: snare drum, 8: tom tom, 9: cymbal, 10: hi hat
int8 AdLibIbkInstrumentDefinition::transpose |
Number of semitones to transpose a note using this instrument.