#include <NoteMC.h>
Inheritance diagram for NoteMusic:

Public Member Functions | |
| NoteMusic (int nstaff, QString t, int duration, bool dot) | |
| virtual QString | getSymbolName () |
| void | setDuration (int) |
| int | getLDuration () |
| int | getUDuration () |
| bool | getTacitAlteration () |
| void | setTacitAlteration (bool) |
| int | getVoice () |
| void | setVoice (int) |
| int | getStaff () |
| void | setStaff (int) |
| int | getAlter () |
| void | setAlter (int) |
| QString | getDurationType () |
| void | setDirection (int) |
| int | getDirection () |
| bool | dotted () |
| NoteMusic * | getChordedTo () |
| void | setChordedTo (NoteMusic *nm) |
| int | isGrace () |
| virtual int | isPitched () |
| void | setGrace () |
| void | cancelGroupStemable () |
| virtual int | groupStemable () |
| virtual int | simpleStemable () |
| void | setIndexMS (void *) |
| void * | getIndexMS () |
| void | setMeasureSectionIndex (int) |
| int | getMeasureSectionIndex () |
| virtual QString | toString () |
Protected Attributes | |
| QString | ltype |
| bool | dot |
| NoteMusic * | chordedTo |
| int | grace |
| int | measureSectionIndex |
| int | duration |
| int | voice |
| int | direction |
| int | staff |
| int | alter |
| bool | tacitAlteration |
| bool | overrideGroupStemable |
| void * | indexMS |
|
||||||||||||||||||||
|
This is the constructor where it is specified in which staff we are writing Careful ! In the musicXML standard the index of the staff begin with 1 and not 0 At the construction we set the voice to the value -1 (Undetermined)
|
|
|
This method let you overwrite the return value of groupeStemable method. It is usefull not to let the program determine algorithmically the stems groups. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This method should always be overrided
Implements MeasureInserter. Reimplemented in PitchedNoteMusic, and RestMusic. |
|
|
|
|
|
|
|
|
|
|
|
Reimplemented in RestMusic. |
|
|
|
|
|
Reimplemented in PitchedNoteMusic. |
|
|
set the alteration +2 id for a double sharp +1 is for a sharp 0 if it is a neutral -1 for a flat
|
|
|
Sets the note is is chorded to
|
|
|
set the direction of the stem |
|
|
Sets the duration |
|
|
This set the note to be a grace note |
|
|
Set the pointer to the associater pointer to a MS |
|
|
This sets the measure section index (This is only an accelerator index)
|
|
|
Use this méthode if it is a staffInserter * Reimplemented from MeasureInserter. |
|
|
Set the alteration of the note as tacit (implicit)
|
|
|
Reimplemented in RestMusic. |
|
|
Reimplemented in PitchedNoteMusic, LyricNoteMusic, and RestMusic. |
|
|
We use the staff parameter to determine wether the measureinserter is also a staff inserter. i.e it has a property staff >0. We set this to -1 by default and give the Measure inserter a setter for this property. * Reimplemented from MeasureInserter. |
1.3.6