ScummVM API documentation
OplInstrumentOperatorDefinition Struct Reference

#include <adlib_ms.h>

Public Member Functions

bool isEmpty ()
 

Public Attributes

uint8 freqMultMisc
 
uint8 level
 
uint8 decayAttack
 
uint8 releaseSustain
 
uint8 waveformSelect
 

Detailed Description

Data for one operator of an OPL instrument definition.

Member Function Documentation

◆ isEmpty()

bool OplInstrumentOperatorDefinition::isEmpty ( )

Check if this operator definition contains any data.

Returns
True if this operator is empty; false otherwise.

Member Data Documentation

◆ freqMultMisc

uint8 OplInstrumentOperatorDefinition::freqMultMisc

2x register: frequency multiplier, key scaling rate, envelope gain type, vibrato and modulation.

◆ level

uint8 OplInstrumentOperatorDefinition::level

4x register: level and key scaling level.

◆ decayAttack

uint8 OplInstrumentOperatorDefinition::decayAttack

6x register: decay and attack.

◆ releaseSustain

uint8 OplInstrumentOperatorDefinition::releaseSustain

8x register: release and sustain.

◆ waveformSelect

uint8 OplInstrumentOperatorDefinition::waveformSelect

Ex register: waveform select.


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