ScummVM API documentation
AdLibBnkInstrumentOperatorDefinition Struct Reference

#include <adlib_ms.h>

Public Member Functions

void toOplInstrumentOperatorDefinition (OplInstrumentOperatorDefinition &operatorDef, uint8 waveformSelect)
 

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
 

Detailed Description

Data for one operator of an OPL instrument definition in the AdLib BNK format.

Member Function Documentation

◆ toOplInstrumentOperatorDefinition()

void AdLibBnkInstrumentOperatorDefinition::toOplInstrumentOperatorDefinition ( OplInstrumentOperatorDefinition operatorDef,
uint8  waveformSelect 
)

Copies the data in this AdLib BNK operator definition to the specified OplInstrumentOperatorDefinition struct.

Parameters
operatorDefThe operator definition to which the data should be copied.
waveformSelectThe value of the waveform select parameter for this operator.

Member Data Documentation

◆ keyScalingLevel

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.


The documentation for this struct was generated from the following file: