Apps Part of Ohmforge

Ohmforge Sound Level (WAV → Leq, LAeq, Lmax)

Upload a WAV recording: A/C/Z-weighted Leq, Fast/Slow Lmax, peak and L10/L50/L90.

PCM 8/16/24/32-bit or 32-bit float, 8 to 192 kHz, up to 10 minutes. Stereo is mixed to mono. Processed in memory and not kept.

dB

Added to every level. 0 = uncalibrated (dB relative to a full-scale sine). Get it by recording a known level, e.g. a 94 dB calibrator or a reference meter.

Try an example: ·

More about this tool

How it works

Measures a WAV recording like a sound level meter: equivalent continuous levels with A, C and no (Z) frequency weighting, maximum levels with Fast (125 ms) and Slow (1 s) time weighting, minimum, C-weighted peak and the statistical levels L10, L50 and L90, plus a level-over-time chart. Without calibration the levels are relative to a full-scale sine; with an offset from a reference meter they read dB SPL. Same engine as the sound level meter in Ohmforge's Pocket instruments.

  • Frequency weighting: the analogue A and C curves of IEC 61672-1 (poles at 20.6 Hz, 107.7 Hz, 737.9 Hz and 12.2 kHz) are turned into digital biquad filters with the bilinear transform; the 12.2 kHz pole pair is partly pre-warped so the response stays within 0.3 dB of the curve from 10 Hz to 10 kHz at 44.1 and 48 kHz (above 10 kHz it falls off faster than the curve). Z means no weighting.
  • Time weighting: the squared weighted signal is smoothed exponentially with τ = 125 ms (Fast) or 1 s (Slow); Lmax is the highest smoothed value. Leq is the energy average over the whole recording. Peak is the largest absolute sample of the weighted signal. L10, L50 and L90 are the LAF levels exceeded 10, 50 and 90 % of the time, sampled 100 times a second after the first second (the meter needs that long to settle).
  • Levels are 10·log10(mean square / 0.5) + offset: a full-scale sine reads 0 dB, so an uncalibrated recording gives relative levels. The calibration offset is the difference between a reference meter and this reading.
  • Known answers: a 4 kHz tone burst of 200 ms reads 1.0 dB below the steady tone with Fast and 7.4 dB below with Slow; 2 ms reads 18.0 dB below with Fast — the 10·log10(1 − e^(−T/τ)) values of IEC 61672-1.

This is not a calibrated or certified sound level meter. Phone and computer microphones, automatic gain control and noise suppression change levels by many decibels; use the results for comparisons and orientation, not for legal, workplace or hearing-protection decisions.

Sources

Part of Ohmforge

  • Ohmforge Virtual electronics workbench

    Draw a circuit, switch it on, and measure it with real-feeling bench instruments.

    Open Ohmforge

Related tools

How to use the Ohmforge Sound Level tool

Measure a WAV recording like a sound level meter, with A, C and Z weighted Leq, Fast and Slow maximum levels, peak and L10/L50/L90, calibrated or relative.

What it is for

You recorded a noise — a heat pump, a party, a workshop machine — and want numbers. This tool reads a WAV file and computes what a sound level meter would show: the energy average (Leq) with A, C and no (Z) frequency weighting, the maximum levels with Fast (125 ms) and Slow (1 s) time weighting, the minimum, the C-weighted peak and the statistical levels L10, L50 and L90.

It uses the same engine as the sound level meter in Ohmforge's Pocket instruments. Its WAV download gives the same numbers here.

A phone or laptop microphone is not a calibrated instrument. Without calibration the levels are relative to a full-scale sine (0 dB). With an offset from a real meter or a calibrator they read dB SPL, but the result is still not a certified measurement.

Worked example

The first example file is a quiet 1 kHz tone with a short, loud 4 kHz burst after 1.1 seconds. Suppose you know from a calibrator that this recorder maps full scale to 94 dB, so you set the calibration offset to 94 dB. The result:

  • LAeq 81.2 dB, LCeq 79.8 dB, LZeq 80.2 dB.
  • LAFmax 88.5 dB but LASmax only 82.4 dB.
  • LCpeak 91.8 dB.
  • LA10 88.1, LA50 84.1, LA90 74.0 dB.

The burst lasts 0.2 s. The Fast meter almost catches it (it reads about 1 dB below a steady tone of the same loudness), while the Slow meter, with its one-second memory, reads about 7 dB lower. LA90, the level exceeded 90 % of the time, is the steady tone underneath: a good estimate of the background. With a calibration the tool adds a comparison: 81 dB(A) is like loud street traffic.

How to read the result

  • LAeq is the number most rules and studies use: the A-weighted energy average over the whole file. A-weighting follows how the ear hears quiet sounds and ignores much of the low rumble.
  • LCeq minus LAeq tells you how much low-frequency sound there is. In the second example (hum and noise) LCeq is about 17 dB above LAeq: the hum dominates.
  • LAFmax / LASmax show short events. Fast follows quick changes; Slow smooths them.
  • LCpeak is the highest instantaneous value (impulse noise).
  • LA10 / LA50 / LA90 come from the Fast level sampled 100 times a second after the first second.
  • The weighting table compares the digital filter with the published curve at the file's sample rate. They agree within 0.3 dB up to 10 kHz at 44.1 and 48 kHz, within about 0.5 dB at 32 kHz.

Tips and common mistakes

  • Turn off noise suppression, echo cancellation and automatic gain in the recording app. They can change levels by 10 dB or more.
  • A clipping warning means the loudest parts were cut off; the maxima and the peak then read too low. Record at a lower gain.
  • Calibrate once per device: record a known level with offset 0 and use the difference as the offset.
  • Low sample rates (8 or 16 kHz) hold no high frequencies, so A and C levels miss them. The tool warns you.
  • Stereo files are mixed to mono; pick one channel if only one microphone faced the source.

FAQ

Is this a certified sound level meter?

No. The weighting and time constants follow the IEC 61672 formulas, but the microphone, the recorder and their calibration decide the accuracy.

Why does my uncalibrated recording show negative decibels?

Without an offset, 0 dB is a full-scale sine. Real recordings sit below full scale, so they read negative. Add an offset to get dB SPL.

What is the difference between Leq and Lmax?

Leq is the average energy over the whole time; Lmax is the loudest moment after time weighting. A single door slam raises Lmax a lot and Leq only a little.

Which file formats work?

WAV with 8, 16, 24 or 32-bit PCM or 32-bit float, from 8 to 192 kHz and up to 10 minutes. Convert MP3 or M4A to WAV first.

Guide last updated:

For scripts and AI agents

  • JSON API: POST https://ohmforgesoundlevel.usefulweb.app/api/v1/calculate (same calculation as this page)
  • Interface description: OpenAPI 3.1 · AI guide: llms.txt
  • MCP server (Streamable HTTP): https://ohmforgesoundlevel.usefulweb.app/mcp · tool name ohmforge_sound_level
Example request
curl -s -X POST https://ohmforgesoundlevel.usefulweb.app/api/v1/calculate \
  -H 'content-type: application/json' \
  -d '{…see OpenAPI examples…}'
Feedback · ideas & bug reports welcome