libdragon
|
Envelope of AY-3-8910. More...
#include <ay8910.h>
Envelope of AY-3-8910.
uint16_t AYEnvelope::period |
Period (in ticks) of the envelope.
uint8_t AYEnvelope::shape |
Shape of the envelope (jigsaw, etc.)
uint8_t AYEnvelope::attack |
0x0 if in attack, 0xF if in the release
uint8_t AYEnvelope::alternate |
True if attack and release alternate (jigsaw)
uint8_t AYEnvelope::hold |
True if the envelope holds after attack.
uint16_t AYEnvelope::count |
Current tick count for the period.
int16_t AYEnvelope::step |
Current step of the envelope.
uint8_t AYEnvelope::vol |
Current output volume.
uint8_t AYEnvelope::holding |
True if the envelope is currently holding.