Agent-readable docs index: /llms.txt. Full docs in one file: /llms-full.txt. Download /docs.zip to grep all markdown files locally.

loudness

Measure the perceived loudness (LUFS) of an audio file. Uses K-weighting and two-pass gating inspired by EBU R128. Runs locally, no API call needed. Requires node-web-audio-api as an optional dependency.

Usage

egaki loudness [audio]

Arguments

ArgumentRequiredDescription
[audio]Noaudio

Options

OptionDefaultDescription
--stdin-Read audio from stdin instead of a file path
--json-Output result as JSON to stdout

Global Options

OptionDefaultDescription
-h, --help-Display this message
-v, --version-Display version number

Examples

# Measure loudness of a song
egaki loudness song.mp3
# Pipe audio from another command
ffmpeg -i video.mp4 -f mp3 - | egaki loudness --stdin
# Get JSON output
egaki loudness track.wav --json