Table of Contents

Struct VoiceMotion

Namespace
Celeritas.Core.Analysis
Assembly
Celeritas.dll

Motion analysis between two voice transitions.

public readonly struct VoiceMotion
Inherited Members

Properties

FromInterval

Interval between the voices before the motion.

public VoiceInterval FromInterval { get; init; }

Property Value

VoiceInterval

FromTime

Time offset of the starting interval, in whole-note units.

public Rational FromTime { get; init; }

Property Value

Rational

IsHiddenPerfect

Check if this is hidden 5ths/octaves (similar motion to perfect interval).

public bool IsHiddenPerfect { get; }

Property Value

bool

ToInterval

Interval between the voices after the motion.

public VoiceInterval ToInterval { get; init; }

Property Value

VoiceInterval

Type

Classification of the relative motion between the two voices.

public MotionType Type { get; init; }

Property Value

MotionType

Voice1

Position in Voices of the first (upper) voice.

public int Voice1 { get; init; }

Property Value

int

Voice1Motion

Signed semitones moved by the first voice (positive = up).

public int Voice1Motion { get; init; }

Property Value

int

Voice2

Position in Voices of the second (lower) voice.

public int Voice2 { get; init; }

Property Value

int

Voice2Motion

Signed semitones moved by the second voice (positive = up).

public int Voice2Motion { get; init; }

Property Value

int