openMSX
|
Public Member Functions | |
void | reset () |
bool | isActive () const |
void | slotOn (KeyPart part) |
void | slotOff (KeyPart part) |
unsigned | calc_phase (int lfo_pm) |
unsigned | calc_envelope (int lfo_am) |
int | calc_slot_car (int lfo_pm, int lfo_am, int fm) |
int | calc_slot_mod (int lfo_pm, int lfo_am) |
int | calc_slot_tom (int lfo_pm, int lfo_am) |
int | calc_slot_snare (int lfo_pm, int lfo_am, int whitenoise) |
int | calc_slot_cym (int lfo_am, int a, int b) |
int | calc_slot_hat (int lfo_am, int a, int b, int whitenoise) |
void | updateAll (unsigned freq) |
void | updatePG (unsigned freq) |
void | updateTLL (unsigned freq) |
void | updateRKS (unsigned freq) |
void | updateEG () |
template<typename Archive > | |
void | serialize (Archive &ar, unsigned version) |
Public Attributes | |
int | feedback |
int | output |
unsigned | phase |
unsigned | dphase |
EnvPhaseIndex * | dphaseARTableRks |
EnvPhaseIndex * | dphaseDRTableRks |
int | tll |
EnvelopeState | eg_mode |
EnvPhaseIndex | eg_phase |
EnvPhaseIndex | eg_dphase |
Y8950Patch | patch |
byte | key |
|
inline |
Definition at line 841 of file Y8950.cc.
References openmsx::ATTACK, openmsx::DECAY, openmsx::FINISH, openmsx::RELEASE, and openmsx::SUSTAIN.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 617 of file Y8950.cc.
References eg_mode, and openmsx::FINISH.
void openmsx::Y8950Slot::reset | ( | ) |
Definition at line 550 of file Y8950.cc.
References eg_mode, eg_phase, feedback, openmsx::FINISH, key, output, patch, phase, openmsx::Y8950Patch::reset(), and updateAll().
Referenced by openmsx::Y8950Channel::reset().
void openmsx::Y8950Slot::serialize | ( | Archive & | ar, |
unsigned | version | ||
) |
Definition at line 1450 of file Y8950.cc.
References openmsx::ATTACK, openmsx::DECAY, openmsx::FINISH, openmsx::RELEASE, and openmsx::SUSTAIN.
|
inline |
Definition at line 634 of file Y8950.cc.
References openmsx::ATTACK, eg_mode, eg_phase, key, openmsx::RELEASE, and openmsx::FixedPoint< FRACTION_BITS_ >::toInt().
Referenced by openmsx::Y8950Channel::keyOff().
|
inline |
Definition at line 623 of file Y8950.cc.
References openmsx::ATTACK, eg_mode, eg_phase, key, phase, and openmsx::FixedPoint< FRACTION_BITS_ >::toInt().
Referenced by openmsx::Y8950Channel::keyOn().
|
inline |
Definition at line 609 of file Y8950.cc.
References updateEG(), updatePG(), updateRKS(), and updateTLL().
Referenced by reset(), and openmsx::Y8950::Impl::writeReg().
|
inline |
Definition at line 590 of file Y8950.cc.
References openmsx::Y8950Patch::AR, openmsx::ATTACK, openmsx::DECAY, dphaseARTableRks, dphaseDRTableRks, openmsx::Y8950Patch::DR, eg_dphase, eg_mode, openmsx::FINISH, patch, openmsx::RELEASE, openmsx::Y8950Patch::RR, and openmsx::SUSTAIN.
Referenced by updateAll(), and openmsx::Y8950::Impl::writeReg().
|
inline |
Definition at line 565 of file Y8950.cc.
References dphase, openmsx::Y8950Patch::ML, and patch.
Referenced by updateAll().
|
inline |
Definition at line 582 of file Y8950.cc.
References dphaseARTableRks, dphaseDRTableRks, openmsx::Y8950Patch::KR, and patch.
Referenced by updateAll().
|
inline |
Definition at line 577 of file Y8950.cc.
References openmsx::Y8950Patch::KL, patch, openmsx::Y8950Patch::TL, and tll.
Referenced by updateAll().
unsigned openmsx::Y8950Slot::dphase |
Definition at line 112 of file Y8950.cc.
Referenced by updatePG().
EnvPhaseIndex* openmsx::Y8950Slot::dphaseARTableRks |
Definition at line 115 of file Y8950.cc.
Referenced by updateEG(), and updateRKS().
EnvPhaseIndex* openmsx::Y8950Slot::dphaseDRTableRks |
Definition at line 116 of file Y8950.cc.
Referenced by updateEG(), and updateRKS().
EnvPhaseIndex openmsx::Y8950Slot::eg_dphase |
Definition at line 120 of file Y8950.cc.
Referenced by updateEG().
EnvelopeState openmsx::Y8950Slot::eg_mode |
Definition at line 118 of file Y8950.cc.
Referenced by isActive(), reset(), slotOff(), slotOn(), and updateEG().
EnvPhaseIndex openmsx::Y8950Slot::eg_phase |
byte openmsx::Y8950Slot::key |
Y8950Patch openmsx::Y8950Slot::patch |
Definition at line 122 of file Y8950.cc.
Referenced by reset(), updateEG(), updatePG(), updateRKS(), updateTLL(), and openmsx::Y8950::Impl::writeReg().
unsigned openmsx::Y8950Slot::phase |
int openmsx::Y8950Slot::tll |
Definition at line 117 of file Y8950.cc.
Referenced by updateTLL().