Expand description
Deterministic, explainable music analysis over acorde_core::Score.
Structs§
- Analysis
Cache - A deterministic, bounded cache for complete analysis results.
- Analysis
Cache Stats - Counters for measuring analysis-cache reuse.
- Analysis
Change Explanation - A score diff together with the explanations affected at one source address.
- Analysis
Counts - Predicted category counts used by the benchmark report.
- Analysis
Diff - Deterministic category-level diff between two analysis results.
- Analysis
Edit Result - Analysis result and its deterministic diff from a previous result.
- Analysis
Pass Result - Result of one registered extension pass.
- Analysis
Provenance - One deterministic explanation attached to a source note address.
- Analysis
Refresh Plan - Dependency-aware refresh plan for a score edit.
- Analysis
Region - A changed part/staff measure interval used by incremental editor planning.
- Analysis
Result - Deterministic output of the chord-analysis pass.
- Benchmark
Case - One benchmark fixture and its hand-verified expectation.
- Benchmark
Case Report - Precision, recall, and explanation-completeness for one benchmark case.
- Benchmark
Expectation - Hand-verified expected counts for one analysis benchmark fixture.
- Benchmark
Failure - A category-level benchmark mismatch.
- Benchmark
Suite Report - Aggregate results for a deterministic benchmark suite.
- Cadence
Candidate - A cadence transition inferred only from adjacent, explicitly labeled chords.
- Chord
Label - A chord label with source evidence and the rule that produced it.
- Interval
Observation - A consecutive melodic interval with addresses for both source notes.
- KeyEstimate
- A deterministic key candidate ranked by duration-weighted diatonic pitch coverage.
- Motif
Occurrence - One source span matching a motif pattern.
- Motif
Pattern - A repeated melodic interval pattern with all matching source occurrences.
- Phrase
Boundary - A phrase boundary supported by an explicit rest at the end of a measure.
- Satb
Diagnostic - A typed SATB constraint finding with source addresses for UI selection.
- Voice
Leading Observation - Voice-leading observation for two adjacent voices at an aligned event.
Enums§
- Analysis
Cache Error - Errors returned when configuring the bounded analysis cache.
- Analysis
Category - One complete-analysis category that can change between two results.
- Analysis
Pass Error - Validation failures for a registered analysis pass set.
- Benchmark
Category - An analysis category that can be compared in a benchmark report.
- Cadence
Kind - Supported cadence transition families.
- Phrase
Boundary Reason - Evidence categories for phrase boundaries.
- Satb
Diagnostic Kind - SATB constraint families reported by the deterministic pass.
- Satb
Severity - User-facing seriousness of a SATB diagnostic.
Constants§
- ANALYSIS_
SCHEMA_ VERSION - Version of the serialized analysis result contract.
Traits§
- Analysis
Pass - A host- or application-provided deterministic analysis extension.
Functions§
- affected_
categories_ for_ change_ hint - Return the complete-analysis categories that a dirty engine hint may affect.
- analysis_
cache_ key - Return the current schema-versioned cache key without running the analysis passes.
- analysis_
provenance - Return every analysis finding whose evidence contains the supplied source address.
- analysis_
refresh_ plan - Build a conservative refresh plan from an engine change hint.
- analyze_
batch - Analyze a finite batch in input order.
- analyze_
cadences - Find explicit cadence transitions in the order they occur within each voice.
- analyze_
chords - Backwards-compatible name for the complete score analysis pass.
- analyze_
chords_ in_ region - Analyze chord labels only inside an optional part/staff measure region.
- analyze_
intervals - Analyze adjacent pitched notes in every voice without inferring missing events.
- analyze_
intervals_ in_ region - Analyze intervals whose endpoints touch an optional part/staff measure region.
- analyze_
motifs - Find repeated three-note melodic interval patterns, resetting at rests.
- analyze_
phrase_ boundaries - Report measure-ending rests as explicit, conservative phrase boundaries.
- analyze_
satb - Analyze SATB constraints using the same aligned voice events as voice-leading analysis.
- analyze_
satb_ in_ region - Analyze SATB diagnostics inside an optional part/staff measure region.
- analyze_
score - Analyze every voice that contains at least two pitched notes in a measure.
- analyze_
selected_ categories - Recompute only the requested categories and carry forward the remaining categories.
- analyze_
selected_ categories_ in_ region - Recompute selected categories with an optional bounded region for local passes.
- analyze_
stream - Analyze scores lazily, one result per input score.
- analyze_
voice_ leading - Check aligned notes in adjacent voices for motion and parallel perfect intervals.
- analyze_
voice_ leading_ in_ region - Analyze voice-leading observations inside an optional part/staff measure region.
- benchmark_
case - Run one offline benchmark case using count-based hand-verified annotations.
- chord_
name - Return the stable chord spelling as a compact human-readable label.
- diff_
analysis - Compare two complete results in stable category order.
- estimate_
keys - Estimate major/minor keys from pitch coverage, preserving tied candidates.
- explain_
analysis_ change - Compare two analysis results and explain the findings attached to one source address.
- run_
analysis_ passes - Run extension passes in stable ID order after validating their identifiers.
- run_
benchmark - Run benchmark cases in input order; no filesystem or network access is used.
- run_
benchmark_ suite - Run a benchmark suite and aggregate its case-level metrics.
- score_
fingerprint - Return a deterministic, non-cryptographic fingerprint for a canonical score.