LibMusicXML 3.22
guidonotestatus Class Reference

Represents the current status of notes duration and octave. More...

#include <guido.h>

Public Types

enum  { kMaxInstances =128 }
enum  { defoctave =1 , defnum =1 , defdenom =4 }

Public Member Functions

void reset ()
guidonotestatusoperator= (const guidonoteduration &dur)
bool operator!= (const guidonoteduration &dur) const

Static Public Member Functions

static guidonotestatusget (unsigned short voice)
static void resetall ()
static void freeall ()

Public Attributes

char fOctave
guidonoteduration fDur

Detailed Description

Octave and duration may be ommitted for guido notes. If so, they are infered from preceeding notes (or rest), within the same sequence or chord, or assumed to have standard values.
The object is defined as a multi-voices singleton: a single object is allocated for a specific voice and thus it will not operate correctly on a same voice parrallel formatting operations.

Todo
handling the current beat value for *num duration form.