MD_SN76489 Library  0.1
Library for SN76489 sound generator
MD_SN74689::adsrEnvelope_t Struct Reference

#include <MD_SN76489.h>

Public Attributes

bool invert
 Invert the normal curve if true.
 
uint8_t Vmax
 Maximum volume setting for Attack phase.
 
uint8_t Vs
 Sustain volume setting.
 
uint16_t Ta
 Time in ms for the attack curve to reach Vmax.
 
uint16_t Td
 Time in ms for the decay curve to reach Vs.
 
uint16_t Tr
 Time in ms for the Release curve to reach 0 volume.
 

Detailed Description

ADSR definition for a channel. The ADSR envelope defines the sound characteristics for notes being played on a channel. See ADSR Envelope for more information.


The documentation for this struct was generated from the following file: