Table of Contents

Class DynamicsDirective

Namespace
Celeritas.Core
Assembly
Celeritas.dll

Dynamics marking (volume/intensity: pp, mf, ff, cresc, dim). Examples: "@dynamics pp", "@cresc to ff", "@dim to p"

public sealed record DynamicsDirective : NotationDirective, IEquatable<NotationDirective>, IEquatable<DynamicsDirective>
Inheritance
DynamicsDirective
Implements
Inherited Members

Properties

StartLevel

Starting dynamics level (e.g., "pp", "mf", "ff"). For static dynamics, this is the only level. For cresc/dim, this is the starting point (optional).

public string? StartLevel { get; init; }

Property Value

string

TargetLevel

Target dynamics level for crescendo/diminuendo. Only meaningful when Type is Crescendo or Diminuendo.

public string? TargetLevel { get; init; }

Property Value

string

Type

Dynamics type: static level, crescendo, or diminuendo.

public required DynamicsType Type { get; init; }

Property Value

DynamicsType

Methods

ToString()

Returns a readable form such as "@dynamics pp at 0" or "@cresc to ff at 2".

public override string ToString()

Returns

string