Skip to main content

spherical_ild_db

Function spherical_ild_db 

pub fn spherical_ild_db(
    azimuth_rad: f32,
    frequency_hz: f32,
) -> Result<f32, SignalError>
Expand description

Spherical-head Rayleigh / Brown-Duda diffraction Interaural Level Difference (ILD) in dB as a function of horizontal azimuth_rad and frequency_hz.

Positive dB favors the right ear ($\theta > 0$); negative dB favors the left ear ($\theta < 0$).