MensuralNote class
Representa a note in noteção mensural (MEI <note> in context mensural).
Notes mensurais têm atributos específicos that not existem no CMN:
- headShape: forma of the cabeça of the note
mensurQuality: qualidade mensural (perfeita/imperfeita)- plica: ornament de plica
MensuralNote(
pitchName: 'G',
octave: 4,
duration: MensuralDuration.semibreve,
quality: MensuralNoteQuality.perfecta,
)
- Inheritance
-
- Object
- MusicalElement
- MensuralNote
Constructors
- MensuralNote({required String pitchName, required int octave, required MensuralDuration duration, MensuralHeadShape headShape = MensuralHeadShape.diamond, MensuralNoteQuality quality = MensuralNoteQuality.imperfecta, PlicaDirection? plica, double alter = 0.0, bool isColored = false})
Properties
- alter → double
-
Alteração cromática (0 = natural, 1 = sharp, -1 = flat).
final
- duration → MensuralDuration
-
Duração mensural.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- headShape → MensuralHeadShape
-
Forma of the cabeça of the note.
final
- isColored → bool
-
Indicates if this note is colorada (note de cor) for indicate imperfeição/alteração.
final
- octave → int
-
Oitava.
final
- pitchName → String
-
Name of the note (C–B).
final
- plica → PlicaDirection?
-
Indicates if this note tem plica (ornament de stem diagonal).
final
- quality → MensuralNoteQuality
-
Qualidade of the note (perfeita = ternária, imperfeita = binária, alterada).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- xmlId ↔ String?
-
Identificador único MEI (
xml:id). Opcional; required for elementos referenciados by other via atributos de ligação of the MEI v5.getter/setter pairinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited