Table of Contents

Class Appoggiatura

Namespace
Celeritas.Core.Ornamentation
Assembly
Celeritas.dll

Appoggiatura ornament - accented non-harmonic note that resolves by step

public sealed class Appoggiatura : Ornament
Inheritance
Appoggiatura
Inherited Members

Properties

Direction

Direction of approach: 1 = from above, -1 = from below, 0 = use sign of Interval. Used by some examples.

public int Direction { get; init; }

Property Value

int

Interval

Interval from appoggiatura to main note (positive = above, negative = below)

public int Interval { get; init; }

Property Value

int

Type

Type of appoggiatura

public AppogiaturaType Type { get; init; }

Property Value

AppogiaturaType

Methods

Expand()

Expands into two notes: the appoggiatura then the resolved main note.

public override NoteEvent[] Expand()

Returns

NoteEvent[]

Exceptions

ArgumentOutOfRangeException

Type is not a defined AppogiaturaType value.