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

bpm

Detect the BPM (beats per minute) of an audio file. Runs locally using peak detection, no API call needed. Requires node-web-audio-api as an optional dependency.

Usage

egaki bpm [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

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