ComSquare
Classes | Enumerations
ComSquare::APU::DSP Namespace Reference

Classes

struct  BRR
 
class  DSP
 
struct  Echo
 
struct  Latch
 
struct  Master
 
struct  Noise
 
struct  State
 Current state of the DSP. More...
 
struct  Timer
 
struct  Voice
 

Enumerations

enum  Envelope : uint { Release, Attack, Decay, Sustain }
 The 4 states of volume envelope adjustment. More...
 

Enumeration Type Documentation

◆ Envelope

The 4 states of volume envelope adjustment.

Enumerator
Release 

The voice is keyed off or a BRR end-without-loop block is reached.

Attack 

The voice is keyed on.

Decay 

When the Envelope adjustment method bits exceeds 0x7ff.

Sustain 

When the upper 3 bits of Envelope adjustment method bits equal the Sustain Level.