Class Mordent
- Namespace
- Celeritas.Core.Ornamentation
- Assembly
- Celeritas.dll
Mordent ornament - brief alternation with upper or lower neighbor
public sealed class Mordent : Ornament
- Inheritance
-
Mordent
- Inherited Members
Properties
Alternations
Number of alternations (1 = single mordent, 2 = double mordent)
public int Alternations { get; init; }
Property Value
Interval
Interval in semitones (default: 2 for whole tone, 1 for half tone)
public int Interval { get; init; }
Property Value
Type
Type of mordent
public MordentType Type { get; init; }
Property Value
Methods
Expand()
Expands into an alternation of the main note and its neighbor, ending on the main note.
public override NoteEvent[] Expand()
Returns
Exceptions
- ArgumentOutOfRangeException
Type is not a defined MordentType value, or Alternations is less than 1.