[][src]Function dbap::a_coefficient

pub fn a_coefficient<S>(rolloff_db: S) -> S where
    S: Scalar

A coefficient calculated from the rolloff r in decibels per doubling of distance.

A rolloff of 6dB equals the inverse distance law for sound propagataing in a free field.

For closed or semi-closed environments r will generally be lower, in the range 3-5dB, and depend on reflections and reverberation.