Table of Contents

Interface ITransitionScorer

Namespace
Celeritas.Core.Harmonization
Assembly
Celeritas.dll

Scores transitions between chords. Implement this to customize harmonic preferences (voice leading, function, etc.).

public interface ITransitionScorer

Methods

ScoreTransition(ChordCandidate, ChordCandidate, KeySignature)

Calculate the cost of transitioning from one chord to another. Lower cost = better transition.

float ScoreTransition(ChordCandidate from, ChordCandidate to, KeySignature key)

Parameters

from ChordCandidate
to ChordCandidate
key KeySignature

Returns

float