audio_analyze
Analyze audio files to extract tempo, key, onsets, and loudness. Optionally transcribe monophonic or polyphonic melodies.
Instructions
Analyze an audio file: tempo, key, onsets, loudness, (optional) notes.
Accepts any format libsndfile supports: WAV, FLAC, MP3, OGG, AIFF...
Returns BPM, detected key (root + major/minor), beat + onset timings,
and optionally a transcription. With polyphonic=True the transcription
is polyphonic (Basic Pitch — chords / all notes; needs the polyphonic
extra); otherwise it's a single monophonic line (pyin).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "audio_analyze"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| extract_melody | No | ||
| polyphonic | No |