Calculate outdoor sound-pressure-level change with distance from the free-field inverse-square law (geometrical divergence in ISO 9613-2:1996) and, optionally, atmospheric absorption after ISO 9613-1:1993. Compute the classical Doppler-shifted frequency for a moving source or observer (speed of sound from air temperature after ISO 2533:1975), the locomotive-horn sounding window at public highway-rail grade crossings given in 49 CFR 222.21 (b)(2)-(b)(3), and equal-tempered frequencies of multi-chime horn notes with A4 at 440 Hz (ISO 16:1975).
Required Ruby Version
>= 2.7
Authors
Horn Guns
Versions
-
0.1.0
-
source
- 0.1.0 source November 23, 2026 (15.5 KB)
-