#include <TNote.h>
Inheritance diagram for TNote:
Public Types | |
enum | style { normal, cue, grace } |
enum | type { pitched, rest, unpitched } |
Public Member Functions | |
virtual void | accept (TScoreVisitor &visitor) |
void | setDuration (unsigned long dur) |
unsigned long | getDuration () const |
unsigned long | getFullDuration () |
void | setInstrumentID (string id) |
the score-instrument (if any) | |
const string | getInstrumentID () const |
void | setStyle (style t) |
to set the style of the note (normal, cue or grace - defaults to normal) | |
style | getStyle () const |
void | setType (type t) |
to set the type of the note (regular, rest, unpitched - defaults to regular) | |
type | getType () const |
SPitch & | pitch () |
the note pitch. May also be used for unpitched and rest placement. | |
SExpression & | expression () |
the expression context of the note, expressed in terms of current division | |
SNote & | tiePrevious () |
the optional previous tied note (corresponds to the tie element) | |
SNote & | tieNext () |
the optional next tied note (corresponds to the tie element) | |
SGraphNote & | graphics () |
the graphical attributes of the note | |
SGraceNote & | graceNote () |
the grace note optionnal element | |
bool | isTie () |
the note is the first of a group of tied notes | |
bool | isSingle () |
the note is "single", not part of a tied group | |
bool | isNormal () |
bool | isGrace () |
bool | isCue () |
bool | isPitched () |
bool | isRest () |
bool | isUnpitched () |
long | getVoice () const |
Friends | |
EXP friend SMARTP< TNote > | newNote () |