Skip to main content

log_axis

Function log_axis 

Source
pub fn log_axis(hz: f64, nyquist: f64) -> f64
Expand description

Map a frequency to octaves above 20 Hz, normalized so Nyquist is 1.0.

This is the coordinate every spectral feature lives on; see the module doc for why a linear-Hz axis makes ordinary timbral preference inexpressible.