Table of Contents

Class Turn

Namespace
Celeritas.Core.Ornamentation
Assembly
Celeritas.dll

Turn ornament - upper neighbor, main note, lower neighbor, main note

public sealed class Turn : Ornament
Inheritance
Turn
Inherited Members

Properties

Anticipation

Whether the turn happens before the beat (anticipation). When true, the three ornamental notes are compressed into the first quarter of the base duration (each taking 1/12 of it) so the closing principal note enters early and holds the remaining 3/4; when false, all four notes split the duration equally. Either way the expansion sums exactly to the base note's duration.

public bool Anticipation { get; init; }

Property Value

bool

LowerInterval

Lower interval in semitones (default: 2 for whole tone)

public int LowerInterval { get; init; }

Property Value

int

Type

Type of turn

public TurnType Type { get; init; }

Property Value

TurnType

UpperInterval

Upper interval in semitones (default: 2 for whole tone)

public int UpperInterval { get; init; }

Property Value

int

Methods

Expand()

Expands into four notes tracing the turn around the main note.

public override NoteEvent[] Expand()

Returns

NoteEvent[]

Exceptions

ArgumentOutOfRangeException

Type is not a defined TurnType value.