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

PitchedNoteMusic Class Reference
[Core Musical Objects]

#include <NoteMC.h>

Inheritance diagram for PitchedNoteMusic:

NoteMusic EventMC MeasureInserter MusicObject LyricNoteMusic List of all members.

Public Member Functions

 PitchedNoteMusic (int nstaff, QString t, int duration, bool dot, int octave, char pitch)
virtual QString getSymbolName ()
char getPitch ()
int isPitched ()
int getOctave ()
int getHalfLineShiftToC3 ()
void setHalfLineShiftClefToC3 (int)
int getHalfLineShiftClefToC3 ()
virtual QString getType ()
virtual QString toString ()

Protected Attributes

int octave
char pitch

Detailed Description

This class represent a pitched note


Member Function Documentation

int PitchedNoteMusic::getHalfLineShiftClefToC3  ) 
 

We assume that the note before C3 is B2

Returns:
the half shif relative to a C3

int PitchedNoteMusic::getHalfLineShiftToC3  ) 
 

We assume that the note before C3 is B2

Returns:
the half shif relative to a C3

int PitchedNoteMusic::getOctave  ) 
 

Returns:
the octave

char PitchedNoteMusic::getPitch  ) 
 

Returns:
the pitch of a note

QString PitchedNoteMusic::getSymbolName  )  [virtual]
 

Returns:
the symbol name associated with the note in classical notation

Reimplemented from NoteMusic.

QString PitchedNoteMusic::getType  )  [virtual]
 

Returns:
the family type of the note

Reimplemented from MeasureInserter.

Reimplemented in LyricNoteMusic.

int PitchedNoteMusic::isPitched  )  [virtual]
 

Returns:
0

Reimplemented from NoteMusic.

void PitchedNoteMusic::setHalfLineShiftClefToC3 int  h  ) 
 

Set the HalfLine of the clef to C3

QString PitchedNoteMusic::toString  )  [virtual]
 

Returns:
the string the string representation of a note it is best to use this method that the print methode

Reimplemented from NoteMusic.

Reimplemented in LyricNoteMusic.


The documentation for this class was generated from the following files:
Generated on Tue Jun 1 21:13:35 2004 for Alternate Take by doxygen 1.3.6