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

TTranspose Class Reference

used for transposing instruments. More...

#include <TTranspose.h>

Inheritance diagram for TTranspose:

visitable smartable List of all members.

Public Types

enum  { undefined = -1 }

Public Member Functions

virtual void accept (TScoreVisitor &visitor)
void setDiatonic (long diat)
void setChromatic (long chrom)
void setOctaveChge (long oct)
void setDouble (long dbl)
long getDiatonic () const
long getChromatic () const
long getOctaveChge () const
long getDouble () const

Friends

EXP friend SMARTP< TTransposenewTranspose ()

Detailed Description

If the part is being encoded for a transposing instrument in written vs. concert pitch, the transposition must be encoded in the transpose element. The transposition is represented by chromatic steps (required) and three optional elements: diatonic pitch steps, octave changes, and doubling an octave down. The chromatic and octave-change elements are numeric values added to the encoded pitch data to create the sounding pitch. The diatonic element is also numeric and allows for correct spelling of enharmonic transpositions.
The MusicXML transpose element is defined in attributes.dtd.


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