Project

General

Profile

Plugins Directory » Sound Level at Distance

Author: Train Horn
Website: https://train-horn.com/
Code repository: https://github.com/train-horn/redmine_sound_level
Registered on: 2026-11-19 (18 days ago)
Current version: 1.0.0
Compatible with: Redmine 6.1.x, 6.0.x, 5.1.x, 5.0.x
User ratings:   (0)

Wiki macro that tabulates the estimated sound pressure level (SPL) at several distances from a source with a known level, using the free-field inverse-square law L = Lref - 20 * log10(d / dref) (about 6 dB less per doubling of distance).

{{sound_level(150, 10, ft)}}

renders a table for 25, 50, 100, 250, 500 and 1000 ft: 142.0, 136.0, 130.0, 122.0, 116.0 and 110.0 dB, with the change versus the reference distance. Metres are supported ({{sound_level(120, 1, m)}}) and custom distances can be given with distances=5 10 20 40.

  • Arguments: source dB (0-250), reference distance (default 10), unit ft or m (default ft).
  • Invalid input shows Redmine's macro error box listing every problem.
  • No gems, no migrations, no settings; labels in config/locales/en.yml.
  • Unit tested with minitest (math checked against the trainhorn-calc Python package), no Redmine install needed to run the tests.

Results are free-field estimates (no ground, barriers, wind or air absorption), not measurements.

Author: Train Horn. License: GPL-2.0.

Installation notes

Clone into plugins/redmine_sound_level and restart Redmine:

cd /path/to/redmine/plugins
git clone https://github.com/train-horn/redmine_sound_level.git
# restart Redmine

No gems, no database migrations. Then use {{sound_level(150, 10, ft)}} on any wiki page or issue description.

Changelog

1.0.0 (2026-11-18)

Compatible with Redmine 6.1.x, 6.0.x, 5.1.x, 5.0.x.