ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

OPL::DOSBox::DBOPL Namespace Reference

Classes

struct  Operator
struct  Channel
struct  Chip

Typedefs

typedef int Bits
typedef uint Bitu
typedef int8 Bit8s
typedef uint8 Bit8u
typedef int16 Bit16s
typedef uint16 Bit16u
typedef int32 Bit32s
typedef uint32 Bit32u
typedef Bits(DBOPL::Operator::* VolumeHandler )()
typedef Channel *(DBOPL::Channel::* SynthHandler )(Chip *chip, Bit32u samples, Bit32s *output)

Enumerations

enum  SynthMode {
  sm2AM, sm2FM, sm3AM, sm3FM,
  sm4Start, sm3FMFM, sm3AMFM, sm3FMAM,
  sm3AMAM, sm6Start, sm2Percussion, sm3Percussion
}
enum  { SHIFT_KSLBASE = 16, SHIFT_KEYCODE = 24 }

Functions

static void EnvelopeSelect (Bit8u val, Bit8u &index, Bit8u &shift)
void InitTables (void)

Variables

static const Bit8u KslCreateTable [16]
static const Bit8u FreqCreateTable [16]
static const Bit8u AttackSamplesTable [13]
static const Bit8u EnvelopeIncreaseTable [13]
static Bit16s WaveTable [8 *512]
static const Bit16u WaveBaseTable [8]
static const Bit16u WaveMaskTable [8]
static const Bit16u WaveStartTable [8]
static Bit16u MulTable [384]
static Bit8u KslTable [8 *16]
static Bit8u TremoloTable [TREMOLO_TABLE]
static Bit16u ChanOffsetTable [32]
static Bit16u OpOffsetTable [64]
static const Bit8s VibratoTable [8]
static const Bit8u KslShiftTable [4]
static const VolumeHandler VolumeHandlerTable [5]
static bool doneTables = false

Typedef Documentation

Definition at line 50 of file dbopl.h.

Definition at line 51 of file dbopl.h.

Definition at line 53 of file dbopl.h.

Definition at line 54 of file dbopl.h.

Definition at line 47 of file dbopl.h.

Definition at line 48 of file dbopl.h.

Definition at line 44 of file dbopl.h.

Definition at line 45 of file dbopl.h.

typedef Channel*( DBOPL::Channel::* OPL::DOSBox::DBOPL::SynthHandler)(Chip *chip, Bit32u samples, Bit32s *output)

Definition at line 70 of file dbopl.h.

typedef Bits( DBOPL::Operator::* OPL::DOSBox::DBOPL::VolumeHandler)()

Definition at line 69 of file dbopl.h.


Enumeration Type Documentation

anonymous enum
Enumerator:
SHIFT_KSLBASE 
SHIFT_KEYCODE 

Definition at line 89 of file dbopl.h.

Enumerator:
sm2AM 
sm2FM 
sm3AM 
sm3FM 
sm4Start 
sm3FMFM 
sm3AMFM 
sm3FMAM 
sm3AMAM 
sm6Start 
sm2Percussion 
sm3Percussion 

Definition at line 73 of file dbopl.h.


Function Documentation

static void OPL::DOSBox::DBOPL::EnvelopeSelect ( Bit8u  val,
Bit8u &  index,
Bit8u &  shift 
) [static]

Definition at line 188 of file dbopl.cpp.

void OPL::DOSBox::DBOPL::InitTables ( void   ) 

Variable Documentation

Initial value:
 {
    69, 55, 46, 40,
    35, 29, 23, 20,
    19, 15, 11, 10,
    9
}

Definition at line 110 of file dbopl.cpp.

Definition at line 170 of file dbopl.cpp.

bool OPL::DOSBox::DBOPL::doneTables = false [static]

Definition at line 1367 of file dbopl.cpp.

Initial value:
 {
    4,  5,  6,  7,
    8, 10, 12, 14,
    16, 20, 24, 28,
    32,
}

Definition at line 117 of file dbopl.cpp.

Initial value:
 {
    M(0.5), M(1 ), M(2 ), M(3 ), M(4 ), M(5 ), M(6 ), M(7 ),
    M(8  ), M(9 ), M(10), M(10), M(12), M(12), M(15), M(15)
}

Definition at line 103 of file dbopl.cpp.

Initial value:
 {
    
    64, 32, 24, 19,
    16, 12, 11, 10,
     8,  6,  5,  4,
     3,  2,  1,  0,
}

Definition at line 94 of file dbopl.cpp.

Initial value:
 {
    31,1,2,0
}

Definition at line 183 of file dbopl.cpp.

Definition at line 167 of file dbopl.cpp.

Definition at line 164 of file dbopl.cpp.

Definition at line 172 of file dbopl.cpp.

Bit8u OPL::DOSBox::DBOPL::TremoloTable[TREMOLO_TABLE] [static]

Definition at line 168 of file dbopl.cpp.

Initial value:
 {
    1 - 0x00, 0 - 0x00, 1 - 0x00, 30 - 0x00,
    1 - 0x80, 0 - 0x80, 1 - 0x80, 30 - 0x80
}

Definition at line 177 of file dbopl.cpp.

Initial value:
 {
    &Operator::TemplateVolume< Operator::OFF >,
    &Operator::TemplateVolume< Operator::RELEASE >,
    &Operator::TemplateVolume< Operator::SUSTAIN >,
    &Operator::TemplateVolume< Operator::DECAY >,
    &Operator::TemplateVolume< Operator::ATTACK >
}

Definition at line 424 of file dbopl.cpp.

Initial value:
 {
    0x000, 0x200, 0x200, 0x800,
    0xa00, 0xc00, 0x100, 0x400,

}

Definition at line 145 of file dbopl.cpp.

Initial value:
 {
    1023, 1023, 511, 511,
    1023, 1023, 512, 1023,
}

Definition at line 151 of file dbopl.cpp.

Initial value:
 {
    512, 0, 0, 0,
    0, 512, 512, 256,
}

Definition at line 157 of file dbopl.cpp.

Definition at line 143 of file dbopl.cpp.



Generated on Sat Jun 22 2019 05:04:16 for ResidualVM by doxygen 1.7.1
curved edge   curved edge