List of all members.
Public Types |
enum | State { ATTACK,
DECAY_SUSTAIN,
RELEASE
} |
Public Member Functions |
RESID_INLINE void | clock () |
RESID_INLINE void | clock (cycle_count delta_t) |
void | reset () |
void | writeCONTROL_REG (reg8) |
void | writeATTACK_DECAY (reg8) |
void | writeSUSTAIN_RELEASE (reg8) |
reg8 | readENV () |
RESID_INLINE reg8 | output () |
void | SaveState (std::ostream &stream) |
void | LoadState (std::istream &stream) |
Protected Attributes |
reg16 | rate_counter |
reg16 | rate_period |
reg8 | exponential_counter |
reg8 | exponential_counter_period |
reg8 | envelope_counter |
bool | hold_zero |
reg4 | attack |
reg4 | decay |
reg4 | sustain |
reg4 | release |
reg8 | gate |
State | state |
Static Protected Attributes |
static reg16 | rate_counter_period [] |
static reg8 | sustain_level [] |
Friends |
class | SID2 |
Detailed Description
Definition at line 36 of file envelope.h.
Member Data Documentation
reg16 EnvelopeGenerator::rate_counter_period [static, protected] |
Initial value: {
9,
32,
63,
95,
149,
220,
267,
313,
392,
977,
1954,
3126,
3907,
11720,
19532,
31251
}
Definition at line 77 of file envelope.h.
reg8 EnvelopeGenerator::sustain_level [static, protected] |
Initial value: {
0x00,
0x11,
0x22,
0x33,
0x44,
0x55,
0x66,
0x77,
0x88,
0x99,
0xaa,
0xbb,
0xcc,
0xdd,
0xee,
0xff,
}
Definition at line 80 of file envelope.h.
The documentation for this class was generated from the following files: