const RATE_TABLE: &[u16];
Expand description

Table of attenuation increments for each possible rate angle

The envelope rates (Attack, Decay, Sustain, and Release) are expressed as an “angle” rather than attenuation, and the values will always be below 64. This table maps each of the 64 possible angle values to a sequence of 8 cycles, and the amount to increment the attenuation at each point in that cycle