Type Alias culsynth::ScalarFxP

source ·
pub type ScalarFxP = U0F16;
Expand description

A unsigned 16 bit fixed point number in the interval [0, 1). Used primarily for “scaling” signals in amplitude, hence the (admittedly not great but useful) name assigned. Note that 0xFFFF is slightly less than 1.0, so we will lose a (very) small amount of signal when maxed out.

Aliased Type§

struct ScalarFxP { /* private fields */ }