MUSX Document Model
Loading...
Searching...
No Matches
musx::dom::Note::NoteProperties Struct Reference

Contextual pitch and staff-position properties of a note. More...

#include <Entries.h>

Public Member Functions

bool operator== (const NoteProperties &other) const
 Equality comparison operator.
 
bool operator!= (const NoteProperties &other) const
 Inequality comparison operator.
 

Public Attributes

music_theory::NoteName noteName {}
 The note name (C, D, E, F, G, A, or B).
 
int octave {}
 The octave number, where middle C is C4.
 
int alteration {}
 The actual alteration in EDO divisions, relative to the natural note name.
 
int staffPosition {}
 The position relative to the staff reference line, normally the top line of a five-line staff.
 

Detailed Description

Contextual pitch and staff-position properties of a note.