Function twang::hrd[][src]

pub fn hrd(a: f64, volume: f64) -> f64

Distort sound wave with hard clipping. Volume should be more than 1 to have any effect.