pub fn calculate_acoustic_salience(
amplitude: f32,
diffraction_scalar: f32,
emitter_pos: [f32; 3],
listener_pos: [f32; 3],
) -> f32Expand description
Calculate acoustic salience score $S_i = \frac{A_i \cdot \mathcal{D}}{1.0 + |\vec{P}i - \vec{P}{\text{listener}}|^2}$.
Emitters falling below $S_i < 10^{-4}$ are culled by the producer before writing to the SAB.