ScummVM API documentation
AdLibIbkInstrumentDefinition Struct Reference

#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
 

Detailed Description

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.

Member Function Documentation

◆ toOplInstrumentDefinition()

void AdLibIbkInstrumentDefinition::toOplInstrumentDefinition ( OplInstrumentDefinition instrumentDef)

Copies the data in this AdLib BNK instrument definition to the specified OplInstrumentDefinition struct.

Parameters
instrumentDefThe instrument definition to which the data should be copied.

Member Data Documentation

◆ rhythmType

uint8 AdLibIbkInstrumentDefinition::rhythmType

Rhythm note type. 0: melodic, 6: bass drum, 7: snare drum, 8: tom tom, 9: cymbal, 10: hi hat

◆ transpose

int8 AdLibIbkInstrumentDefinition::transpose

Number of semitones to transpose a note using this instrument.


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