arsd.nukedopl3

OPL3 (1990's midi chip) emulator.

Members

Classes

OPLPlayer
class OPLPlayer

Undocumented in source.

Functions

generate
void generate(OPL3Chip chip, short* buf)

OPL3_Generate

generateResampled
void generateResampled(OPL3Chip chip, short* buf)

OPL3_GenerateResampled

generateStream
void generateStream(OPL3Chip chip, short[] smpbuf)

OPL3_GenerateStream; outputs STEREO stream

reset
void reset(OPL3Chip chip, uint samplerate)

OPL3_Reset

writeReg
void writeReg(OPL3Chip chip, ushort reg, ubyte v)

OPL3_WriteReg

writeRegBuffered
void writeRegBuffered(OPL3Chip chip, ushort reg, ubyte v)

OPL3_WriteRegBuffered

Manifest constants

OPL_WRITEBUF_DELAY
enum OPL_WRITEBUF_DELAY;

Undocumented in source.

OPL_WRITEBUF_SIZE
enum OPL_WRITEBUF_SIZE;

Undocumented in source.

Structs

OPL3Chip
struct OPL3Chip

Meta

Authors

Originally written in C by Alexey Khokholov, ported to D by ketmar, very slightly modified by me.