Audio Analysis Tools Reference

Phantom’s tools are organized by workflow stage. Each tool accepts audio files and returns measurement data your AI assistant can reason about.

Pre-mix Analysis

Understand your material before touching faders.

ToolWhat it measures
analyze_spectrumFrequency balance — centroid, rolloff, contrast, flatness, dissonance
analyze_loudnessIntegrated LUFS, true peak, loudness range, short-term and momentary
analyze_dynamicsRMS, peak, crest factor, dynamic range, complexity
analyze_phasePhase coherence per frequency band, polarity, inter-channel delay
detect_problemsClipping, DC offset, ISP, hum, sibilance, mud, harshness, resonances
full_diagnosticComprehensive single-file analysis (runs all pre-mix tools)
batch_diagnosticParallel analysis on up to 50 files

During Mixing

Make informed decisions while mixing.

ToolWhat it measures
analyze_stereoStereo width, balance, mid/side ratio, correlation, panorama
analyze_maskingPer-octave frequency overlap between two stems
multi_stem_maskingFrequency collision severity across multiple stems
compare_phasePhase relationship comparison between two sources

Mastering Prep

Compare and match to targets.

ToolWhat it measures
compare_to_profileCompare against genre target specs (EDM, hip-hop, acoustic, etc.)
compare_to_referenceA/B spectral and loudness analysis against a reference track
match_to_referenceAutomated spectral, loudness, and width matching recommendations

Remediation and Processing

Fix problems and apply corrections. These tools require the processing extra: pip install phantom-audio[processing].

ToolWhat it does
fix_audioAuto-fix detected audio problems with corrective EQ and filtering
apply_processingApply custom audio processing chains to files

Utilities

ToolWhat it does
separate_stemsSeparate audio into vocals, drums, bass, and instruments via Demucs

Pro tip

You don’t need to call tools by name. Describe what you want to know — “Is my mix too loud?”, “Are the vocals masking the guitar?”, “Compare this to a professional reference” — and your AI assistant will pick the right tool.