Class Glissando
- Namespace
- Celeritas.Core.Ornamentation
- Assembly
- Celeritas.dll
Glissando - continuous pitch slide between two notes.
public sealed class Glissando : Ornament
- Inheritance
-
Glissando
- Inherited Members
Properties
Chromatic
Whether to use chromatic (semitone) or diatonic (natural/white-key) steps. When false, the glissando touches every natural (white-key) pitch between the base note and the target; both endpoints are always included even if they are not natural, and Steps is ignored.
public bool Chromatic { get; init; }
Property Value
IsAbsolute
Whether TargetPitch is absolute or relative to base note.
public bool IsAbsolute { get; init; }
Property Value
Steps
Number of intermediate steps in the glissando (chromatic mode only). Higher values = smoother glide.
public int Steps { get; init; }
Property Value
TargetPitch
Target pitch (absolute MIDI pitch or interval from base note).
public int TargetPitch { get; init; }
Property Value
Methods
Expand()
Expands into a series of stepped notes sliding from the base pitch to the target.
public override NoteEvent[] Expand()