Skip to main content

Crate acorde_analysis

Crate acorde_analysis 

Source
Expand description

Deterministic, explainable music analysis over acorde_core::Score.

Structs§

AnalysisResult
Deterministic output of the chord-analysis pass.
ChordLabel
A chord label with source evidence and the rule that produced it.
IntervalObservation
A consecutive melodic interval with addresses for both source notes.
KeyEstimate
A deterministic key candidate ranked by diatonic pitch coverage.

Constants§

ANALYSIS_SCHEMA_VERSION
Version of the serialized analysis result contract.

Functions§

analyze_chords
Analyze every voice that contains at least two pitched notes in a measure.
analyze_intervals
Analyze adjacent pitched notes in every voice without inferring missing events.
chord_name
Return the stable chord spelling as a compact human-readable label.
estimate_keys
Estimate major/minor keys from pitch coverage, preserving tied candidates.