#include <adlib_ms.h>
Public Member Functions | |
| void | toOplInstrumentOperatorDefinition (OplInstrumentOperatorDefinition &operatorDef, uint8 waveformSelect) const |
Public Attributes | |
| uint8 | keyScalingLevel |
| uint8 | frequencyMultiplier |
| uint8 | feedback |
| uint8 | attack |
| uint8 | sustain |
| uint8 | envelopeGainType |
| uint8 | decay |
| uint8 | release |
| uint8 | level |
| uint8 | amplitudeModulation |
| uint8 | vibrato |
| uint8 | keyScalingRate |
| uint8 | connection |
Data for one operator of an OPL instrument definition in the AdLib BNK format.
| void AdLibBnkInstrumentOperatorDefinition::toOplInstrumentOperatorDefinition | ( | OplInstrumentOperatorDefinition & | operatorDef, |
| uint8 | waveformSelect | ||
| ) | const |
Copies the data in this AdLib BNK operator definition to the specified OplInstrumentOperatorDefinition struct.
| operatorDef | The operator definition to which the data should be copied. |
| waveformSelect | The value of the waveform select parameter for this operator. |
| uint8 AdLibBnkInstrumentOperatorDefinition::keyScalingLevel |
Individual fields for each setting in the 2x-8x registers. Note that waveform select is not part of the operator data in this format; it is included in the instrument data as a separate field.