Go to the source code of this file.
#define ATTACK_DECAY 0x60 |
#define BLOCKNUM_MASK 0x1c |
#define COMPOSITE_SINE_WAVE_MODE 0x80 /* Don't use with OPL-3? */ |
#define CONNECTION_BIT 0x01 |
#define CONNECTION_SELECT_REGISTER 0x04 /* Right side */ |
#define ENABLE_WAVE_SELECT 0x20 |
#define FEEDBACK_CONNECTION 0xc0 |
#define FEEDBACK_MASK 0x0e /* Valid just for 1st OP of a voice */ |
#define FNUM_HIGH_MASK 0x03 |
#define KBD_SPLIT_REGISTER 0x08 /* Left side */ |
#define KEYBOARD_SPLIT 0x40 |
#define KSL_MASK 0xc0 /* Envelope scaling bits */ |
#define KSR 0x10 /* Key scaling rate */ |
#define MULTIPLE_MASK 0x0f /* Frequency multiplier */ |
#define OPL3_MODE_REGISTER 0x05 /* Right side */ |
#define PERCOSSION_ENABLE 0x20 |
#define PERCOSSION_REGISTER 0xbd /* Left side only */ |
#define RELEASE_MASK 0x0f |
#define SNAREDRUM_ON 0x08 |
#define STEREO_BITS 0x30 /* OPL-3 only */ |
#define SUSTAIN_MASK 0xf0 |
#define SUSTAIN_RELEASE 0x80 |
#define TEST_REGISTER 0x01 |
#define TIMER1_REGISTER 0x02 |
#define TIMER1_START 0x01 |
#define TIMER2_REGISTER 0x03 |
#define TIMER2_START 0x02 |
#define TIMER_CONTROL_REGISTER 0x04 /* Left side */ |
#define TOTAL_LEVEL_MASK 0x3f /* Strength (volume) of OP */ |
#define TREMOLO_DEPTH 0x80 |
#define VIBRATO_DEPTH 0x40 |
#define VOICE_TO_LEFT 0x10 |
#define VOICE_TO_RIGHT 0x20 |