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).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| extract_melody | No | ||
| polyphonic | No |