Main Page | Modules | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | Related Pages

TExpression Class Reference

Represents the expression context of a note. More...

#include <TNote.h>

Inheritance diagram for TExpression:

visitable smartable List of all members.

Public Types

enum  { undefined = -1 }

Public Member Functions

virtual void accept (TScoreVisitor &visitor)
void setDynamic (long dyn)
 reflects the MIDI key on velocity (expressed in terms of percentages of a standard MIDI forte volume of 90)

void setEndDynamic (long dyn)
 reflects the MIDI key off velocity (expressed in terms of percentages of a standard MIDI forte volume of 90)

void setAttack (long attack)
 used to alter the starting time of the note (expressed in term of divisions)

void setRelease (long rel)
 used to alter the stopping time of the note (expressed in term of divisions)

void setPizzicato (YesNo::type pizz)
 used when just this note is sounded pizzicato

long getDynamic () const
long getEndDynamic () const
long getAttack () const
long getRelease () const
YesNo::type getPizzicato () const

Friends

EXP friend SMARTP< TExpressionnewExpression ()

Detailed Description

TExpression corresponds to a subset of the note attributes as defined in notes.dtd


Generated on Tue Mar 23 09:50:02 2004 for LibMusicXML by doxygen 1.3.3