API & MCP

Everything a person can do on Audio Spectrum Analyzer, a program or AI agent can do with the same inputs and get the identical result.

HTTP API

Audio Spectrum Analyzer

Analyses an audio file (WAV directly; MP3, FLAC, Ogg, M4A and AIFF are decoded with ffmpeg first): averaged FFT spectrum chart, the strongest peak frequencies, spectral centroid and roll-off, spectral slope, RMS, peak, crest factor, DC offset, clipped samples, octave-band levels and a waveform overview.

Inputs of Audio Spectrum Analyzer
FieldTypeDefaultDescription
file (required)file—Audio file. WAV (PCM 8/16/24/32-bit or float), or MP3, FLAC, Ogg/Opus, M4A, AIFF; max 50 MB, the first 10 minutes are analysed. Files are processed in a private temporary folder and not kept.
fftSizeselect (1024, 2048, 4096, 8192, 16384)"4096"FFT size. Larger = finer frequency resolution (sample rate ÷ size), fewer averaged frames.
windowselect (hann, hamming, rectangular)"hann"Window
peaksinteger5Peaks to list

Every result contains

inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.

MCP (Model Context Protocol)

{
  "mcpServers": {
    "soundscape-spectrum-analyzer": { "type": "http", "url": "https://soundscapespectrumanalyzer.usefulweb.site/mcp" }
  }
}