Skip to content

GuitarPrometheus::SongStructure::Measure

GuitarPrometheus::SongStructure::Measure

One bar of music in a single part. More…

#include <SongStructure.h>

Public Attributes

Name
intmeasureNumber
MusicModels::TimeSignatureeffectiveTime
MusicModels::KeySignatureeffectiveKey
inteffectiveTempoBpm
MusicModels::DynamiceffectiveDynamic
std::vector< Engraving >notes
std::vector< TechniqueSpan >spans
std::vector< DynamicSpan >dynamicSpans

Detailed Description

struct GuitarPrometheus::SongStructure::Measure;

One bar of music in a single part.

Carries the effective time signature, key signature, and tempo for this measure — MusicXML’s inheritance rules (a change persists until the next change) are resolved by the parser, so each [Measure](/api-reference/classes/structguitarprometheus_1_1songstructure_1_1measure/) already holds the values in force here. Downstream consumers don’t need to walk back to find the active key / time / tempo.

Public Attributes Documentation

variable measureNumber

int measureNumber = 0;

variable effectiveTime

MusicModels::TimeSignature effectiveTime;

variable effectiveKey

MusicModels::KeySignature effectiveKey;

variable effectiveTempoBpm

int effectiveTempoBpm = 120;

variable effectiveDynamic

MusicModels::Dynamic effectiveDynamic = MusicModels::Dynamic::MezzoForte;

variable notes

std::vector< Engraving > notes;

variable spans

std::vector< TechniqueSpan > spans;

variable dynamicSpans

std::vector< DynamicSpan > dynamicSpans;

Updated on 2026-05-29 at 07:39:52 +0000