openMSX
|
Public Member Functions | |
YMF262Slot () | |
int | op_calc (unsigned phase, unsigned lfo_am) const |
void | FM_KEYON (byte key_set) |
void | FM_KEYOFF (byte key_clr) |
void | advanceEnvelopeGenerator (unsigned eg_cnt) |
void | advancePhaseGenerator (YMF262Channel &ch, unsigned lfo_pm) |
void | update_ar_dr () |
void | update_rr () |
void | calc_fc (const YMF262Channel &ch) |
void | setFeedbackShift (byte value) |
Sets the amount of feedback [0..7]. More... | |
template<typename Archive > | |
void | serialize (Archive &ar, unsigned version) |
Public Attributes | |
FreqIndex | Cnt |
FreqIndex | Incr |
int * | connect |
int | op1_out [2] |
unsigned | TL |
int | TLL |
int | volume |
int | sl |
unsigned * | wavetable |
EnvelopeState | state |
unsigned | eg_m_ar |
unsigned | eg_m_dr |
unsigned | eg_m_rr |
byte | eg_sh_ar |
byte | eg_sel_ar |
byte | eg_sh_dr |
byte | eg_sel_dr |
byte | eg_sh_rr |
byte | eg_sel_rr |
byte | key |
byte | fb_shift |
bool | CON |
bool | eg_type |
byte | AMmask |
bool | vib |
byte | ar |
byte | dr |
byte | rr |
byte | KSR |
byte | ksl |
byte | ksr |
byte | mul |
openmsx::YMF262Slot::YMF262Slot | ( | ) |
|
inline |
Definition at line 666 of file YMF262.cc.
References openmsx::EG_ATTACK, openmsx::EG_DECAY, openmsx::EG_RELEASE, and openmsx::EG_SUSTAIN.
|
inline |
Definition at line 725 of file YMF262.cc.
References openmsx::YMF262Channel::block_fnum.
void openmsx::YMF262Slot::calc_fc | ( | const YMF262Channel & | ch | ) |
Definition at line 1143 of file YMF262.cc.
References openmsx::YMF262Channel::fc, and openmsx::YMF262Channel::kcode.
|
inline |
Definition at line 1107 of file YMF262.cc.
References openmsx::EG_RELEASE.
|
inline |
Definition at line 1096 of file YMF262.cc.
References openmsx::EG_ATTACK.
|
inline |
Definition at line 782 of file YMF262.cc.
Referenced by openmsx::YMF262Channel::chan_calc(), and openmsx::YMF262Channel::chan_calc_ext().
void openmsx::YMF262Slot::serialize | ( | Archive & | ar, |
unsigned | version | ||
) |
|
inline |
byte openmsx::YMF262Slot::AMmask |
Definition at line 139 of file YMF262.cc.
Referenced by YMF262Slot().
byte openmsx::YMF262Slot::ar |
Definition at line 142 of file YMF262.cc.
Referenced by YMF262Slot().
FreqIndex openmsx::YMF262Slot::Cnt |
Definition at line 108 of file YMF262.cc.
Referenced by openmsx::YMF262Channel::chan_calc(), and openmsx::YMF262Channel::chan_calc_ext().
bool openmsx::YMF262Slot::CON |
Definition at line 135 of file YMF262.cc.
Referenced by YMF262Slot().
int* openmsx::YMF262Slot::connect |
Definition at line 110 of file YMF262.cc.
Referenced by openmsx::YMF262Channel::chan_calc(), openmsx::YMF262Channel::chan_calc_ext(), and YMF262Slot().
byte openmsx::YMF262Slot::dr |
Definition at line 143 of file YMF262.cc.
Referenced by YMF262Slot().
unsigned openmsx::YMF262Slot::eg_m_ar |
Definition at line 122 of file YMF262.cc.
Referenced by YMF262Slot().
unsigned openmsx::YMF262Slot::eg_m_dr |
Definition at line 123 of file YMF262.cc.
Referenced by YMF262Slot().
unsigned openmsx::YMF262Slot::eg_m_rr |
Definition at line 124 of file YMF262.cc.
Referenced by YMF262Slot().
byte openmsx::YMF262Slot::eg_sel_ar |
Definition at line 126 of file YMF262.cc.
Referenced by YMF262Slot().
byte openmsx::YMF262Slot::eg_sel_dr |
Definition at line 128 of file YMF262.cc.
Referenced by YMF262Slot().
byte openmsx::YMF262Slot::eg_sel_rr |
Definition at line 130 of file YMF262.cc.
Referenced by YMF262Slot().
byte openmsx::YMF262Slot::eg_sh_ar |
Definition at line 125 of file YMF262.cc.
Referenced by YMF262Slot().
byte openmsx::YMF262Slot::eg_sh_dr |
Definition at line 127 of file YMF262.cc.
Referenced by YMF262Slot().
byte openmsx::YMF262Slot::eg_sh_rr |
Definition at line 129 of file YMF262.cc.
Referenced by YMF262Slot().
bool openmsx::YMF262Slot::eg_type |
Definition at line 136 of file YMF262.cc.
Referenced by YMF262Slot().
byte openmsx::YMF262Slot::fb_shift |
Definition at line 134 of file YMF262.cc.
Referenced by openmsx::YMF262Channel::chan_calc(), setFeedbackShift(), and YMF262Slot().
byte openmsx::YMF262Slot::key |
Definition at line 132 of file YMF262.cc.
Referenced by YMF262Slot().
byte openmsx::YMF262Slot::ksl |
Definition at line 146 of file YMF262.cc.
Referenced by YMF262Slot().
byte openmsx::YMF262Slot::KSR |
Definition at line 145 of file YMF262.cc.
Referenced by YMF262Slot().
byte openmsx::YMF262Slot::ksr |
Definition at line 147 of file YMF262.cc.
Referenced by YMF262Slot().
byte openmsx::YMF262Slot::mul |
Definition at line 148 of file YMF262.cc.
Referenced by YMF262Slot().
int openmsx::YMF262Slot::op1_out[2] |
Definition at line 111 of file YMF262.cc.
Referenced by openmsx::YMF262Channel::chan_calc(), and YMF262Slot().
byte openmsx::YMF262Slot::rr |
Definition at line 144 of file YMF262.cc.
Referenced by YMF262Slot().
int openmsx::YMF262Slot::sl |
Definition at line 117 of file YMF262.cc.
Referenced by YMF262Slot().
EnvelopeState openmsx::YMF262Slot::state |
Definition at line 121 of file YMF262.cc.
Referenced by YMF262Slot().
unsigned openmsx::YMF262Slot::TL |
Definition at line 114 of file YMF262.cc.
Referenced by YMF262Slot().
int openmsx::YMF262Slot::TLL |
Definition at line 115 of file YMF262.cc.
Referenced by YMF262Slot().
bool openmsx::YMF262Slot::vib |
Definition at line 140 of file YMF262.cc.
Referenced by YMF262Slot().
int openmsx::YMF262Slot::volume |
Definition at line 116 of file YMF262.cc.
Referenced by YMF262Slot().
unsigned* openmsx::YMF262Slot::wavetable |
Definition at line 119 of file YMF262.cc.
Referenced by YMF262Slot().