Type Alias culsynth::SampleFxP

source ·
pub type SampleFxP = I4F12;
Expand description

A fixed point number representing a sample or otherwise generic piece of data within the synthesizer. These are 16 bit signed fixed point numbers with 12 fractional bits. Put another way, our reference (0dB) level is set at an amplitude of 2^12, and we have 3 bits (9dB) of headroom before clipping, since we lose a bit for the sign bit.

Aliased Type§

struct SampleFxP { /* private fields */ }