analyze_audio_clip
Measure a clip's source file over a bounded window with optional waveform, spectrum, pitch, transients, and resonance analyses.
Instructions
Measure an exact Session or Arrangement audio clip's local source file over a bounded window. Loudness measures the source stream; channel selection applies to optional analyses. Source-only, not rendered clip or track audio.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| clipId | Yes | Stable clip ID: track-N:clip-M from list_clips, or track-N:arrangement-clip-M from list_arrangement_clips for tools that support Arrangement clips. | |
| trackId | Yes | Stable track ID returned by list_tracks. | |
| channelIndex | No | Zero-based source channel for waveform, spectrum, spectrogram and pitch; defaults to zero. | |
| includePitch | No | Estimate selected-channel monophonic pitch with overlapping 256-ms frames across the window; not pitch correction. | |
| startSeconds | No | Source window start. | |
| targetMidiNote | No | Measure monophonic cents deviation against this explicit MIDI note at A4=440 Hz; enables pitch analysis, not pitch correction. | |
| durationSeconds | No | Source window duration, defaults to 10 seconds. | |
| includeSpectrum | No | Include one selected-channel 4096-sample spectral frame. | |
| includeWaveform | No | Include up to 1024 contiguous selected-channel min/max/RMS waveform buckets at 48 kHz. | |
| includeTransients | No | Find selected-channel source-audio onset candidates at 10-ms resolution; not Live warp/slice markers. | |
| includeSpectrogram | No | Include up to 64 selected-channel spectral frames at 48 kHz. | |
| includeResonanceCandidates | No | Report heuristic persistent narrow spectral features across at least four sampled frames; not confirmed resonances or automatic EQ advice. |