34#define SOUND_EG_TABLE_MAX (16)
37#define SOUND_EG_AHDSR (0)
39#define SOUND_EG_LPCM (1)
uint8_t hold_time
Period of hold phase.
uint8_t decay_rate
Deccendant velocity of decay phase.
uint8_t attack_rate
Asccendant velocity of attack phase.
uint8_t * data
time series of the sampled signal levels (i.e.
uint8_t release_rate
desccendant velocity of release phase
uint8_t len
number of sampled signal levels
uint8_t sustain_level
Output level of sustain phase.
uint8_t clz
The class identifier of this envelope generator.
void sound_set_eg_table(const struct sound_eg_attribute *table)
MSX (Re)set the software envelope generator attribute table.
Parameters for AHDSR envelope generator.
Parameters for linear PCM (8-bit, 60Hz) envelope generator.
Attributes of a software envelope generator object.