LibMusicXML 3.18
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
msrNote Class Reference
Inheritance diagram for msrNote:

Public Types

enum  msrNoteKind {
  k_NoNoteKind , kRestNote , kSkipNote , kUnpitchedNote ,
  kStandaloneNote , kDoubleTremoloMemberNote , kGraceNote , kChordMemberNote ,
  kGraceChordMemberNote , kTupletMemberNote , kGraceTupletMemberNote , kTupletMemberUnpitchedNote
}
 
enum  msrNoteAccidentalKind {
  kNoteAccidentalNone , kNoteAccidentalSharp , kNoteAccidentalNatural , kNoteAccidentalFlat ,
  kNoteAccidentalDoubleSharp , kNoteAccidentalSharpSharp , kNoteAccidentalFlatFlat , kNoteAccidentalNaturalSharp ,
  kNoteAccidentalNaturalFlat , kNoteAccidentalQuarterFlat , kNoteAccidentalQuarterSharp , kNoteAccidentalThreeQuartersFlat ,
  kNoteAccidentalThreeQuartersSharp , kNoteAccidentalSharpDown , kNoteAccidentalSharpUp , kNoteAccidentalNaturalDown ,
  kNoteAccidentalNaturalUp , kNoteAccidentalFlatDown , kNoteAccidentalFlatUp , kNoteAccidentalTripleSharp ,
  kNoteAccidentalTripleFlat , kNoteAccidentalSlashQuarterSharp , kNoteAccidentalSlashSharp , kNoteAccidentalSlashFlat ,
  kNoteAccidentaldoubleSlashFlat , kNoteAccidentalSharp_1 , kNoteAccidentalSharp_2 , kNoteAccidentalSharp_3 ,
  kNoteAccidentalSharp_5 , kNoteAccidentalFlat_1 , kNoteAccidentalFlat_2 , kNoteAccidentalFlat_3 ,
  kNoteAccidentalFlat_4 , kNoteAccidentalSori , kNoteAccidentalKoron
}
 
enum  msrNoteEditorialAccidentalKind { kNoteEditorialAccidentalYes , kNoteEditorialAccidentalNo }
 
enum  msrNoteCautionaryAccidentalKind { kNoteCautionaryAccidentalYes , kNoteCautionaryAccidentalNo }
 
enum  msrNoteHeadKind {
  kNoteHeadSlash , kNoteHeadTriangle , kNoteHeadDiamond , kNoteHeadSquare ,
  kNoteHeadCross , kNoteHeadX , kNoteHeadCircleX , kNoteHeadInvertedTriangle ,
  kNoteHeadArrowDown , kNoteHeadArrowUp , kNoteHeadSlashed , kNoteHeadBackSlashed ,
  kNoteHeadNormal , kNoteHeadCluster , kNoteHeadCircleDot , kNoteHeadLeftTriangle ,
  kNoteHeadRectangle , kNoteHeadNone , kNoteHeadDo , kNoteHeadRe ,
  kNoteHeadMi , kNoteHeadFa , kNoteHeadFaUp , kNoteHeadSo ,
  kNoteHeadLa , kNoteHeadTi
}
 
enum  msrNoteHeadFilledKind { kNoteHeadFilledYes , kNoteHeadFilledNo }
 
enum  msrNoteHeadParenthesesKind { kNoteHeadParenthesesYes , kNoteHeadParenthesesNo }
 

Public Member Functions

SMARTP< msrNotecreateNoteNewbornClone (S_msrPart containingPart)
 
SMARTP< msrNotecreateNoteDeepCopy (S_msrVoice containingVoice)
 
void setNoteMeasureUpLink (const S_msrMeasure &measure)
 
S_msrMeasure getNoteMeasureUpLink () const
 
void setNoteChordUpLink (const S_msrChord &chord)
 
S_msrChord getNoteChordUpLink () const
 
void setNoteGraceNotesGroupUpLink (const S_msrGraceNotesGroup &graceNotesGroup)
 
S_msrGraceNotesGroup getNoteGraceNotesGroupUpLink () const
 
void setNoteTupletUpLink (const S_msrTuplet &tuplet)
 
S_msrTuplet getNoteTupletUpLink () const
 
void setNoteKind (msrNoteKind noteKind)
 
msrNoteKind getNoteKind () const
 
msrQuarterTonesPitchKind getNoteQuarterTonesPitchKind () const
 
void setNotePrintObjectKind (msrPrintObjectKind notePrintObjectKind)
 
msrPrintObjectKind getNotePrintObjectKind () const
 
void setNoteHeadKind (msrNoteHeadKind noteHeadKind)
 
msrNoteHeadKind getNoteHeadKind () const
 
void setNoteHeadFilledKind (msrNoteHeadFilledKind noteHeadFilledKind)
 
msrNoteHeadFilledKind getNoteHeadFilledKind () const
 
void setNoteHeadParenthesesKind (msrNoteHeadParenthesesKind noteHeadParenthesesKind)
 
msrNoteHeadParenthesesKind getNoteHeadParenthesesKind () const
 
void setNoteAccidentalKind (msrNoteAccidentalKind noteAccidentalKind)
 
msrNoteAccidentalKind getNoteAccidentalKind ()
 
void setNoteEditorialAccidentalKind (msrNoteEditorialAccidentalKind noteEditorialAccidentalKind)
 
msrNoteEditorialAccidentalKind getNoteEditorialAccidentalKind ()
 
void setNoteCautionaryAccidentalKind (msrNoteCautionaryAccidentalKind noteCautionaryAccidentalKind)
 
msrNoteCautionaryAccidentalKind getNoteCautionaryAccidentalKind ()
 
void setNoteSoundingWholeNotes (rational wholeNotes)
 
rational getNoteSoundingWholeNotes ()
 
msrQuarterTonesPitchKind getNoteQuarterTonesDisplayPitchKind () const
 
void setNoteDisplayWholeNotes (rational wholeNotes)
 
rational getNoteDisplayWholeNotes ()
 
int getNoteDotsNumber () const
 
msrDurationKind getNoteGraphicDurationKind () const
 
int getNoteOctave () const
 
int getNoteDisplayOctave () const
 
bool getNoteIsARest () const
 
bool getNoteIsUnpitched () const
 
bool getNoteIsACueNote () const
 
void setNoteOctaveShift (S_msrOctaveShift octaveShift)
 
S_msrOctaveShift getNoteOctaveShift () const
 
void setNoteBelongsToAChord ()
 
bool getNoteBelongsToAChord () const
 
bool getNoteIsAGraceNote () const
 
void appendNoteToNoteHarmoniesList (S_msrHarmony harmony)
 
const list< S_msrHarmony > & getNoteHarmoniesList () const
 
void setNoteFrame (S_msrFrame frame)
 
const S_msrFrame & getNoteFrame () const
 
void setNoteFiguredBass (S_msrFiguredBass figuredBass)
 
const S_msrFiguredBass & getNoteFiguredBass () const
 
list< S_msrSyllable > getNoteSyllables () const
 
void setNoteStem (S_msrStem stem)
 
S_msrStem getNoteStem () const
 
const list< S_msrBeam > & getNoteBeams () const
 
const list< S_msrArticulation > & getNoteArticulations () const
 
list< S_msrArticulation > & getNoteArticulationsToModify ()
 
const list< S_msrSpanner > & getNoteSpanners () const
 
list< S_msrSpanner > & getNoteSpannersToModify ()
 
const list< S_msrTechnical > & getNoteTechnicals () const
 
const list< S_msrTechnicalWithInteger > & getNoteTechnicalWithIntegers () const
 
const list< S_msrTechnicalWithFloat > & getNoteTechnicalWithFloats () const
 
const list< S_msrTechnicalWithString > & getNoteTechnicalWithStrings () const
 
const list< S_msrOrnament > & getNoteOrnaments () const
 
const list< S_msrGlissando > & getNoteGlissandos () const
 
const list< S_msrSlide > & getNoteSlides () const
 
void setNoteGraceNotesGroupBefore (S_msrGraceNotesGroup graceNotesGroupBefore)
 
S_msrGraceNotesGroup getNoteGraceNotesGroupBefore () const
 
void setNoteGraceNotesGroupAfter (S_msrGraceNotesGroup graceNotesGroupAfter)
 
S_msrGraceNotesGroup getNoteGraceNotesGroupAfter () const
 
void setNoteSingleTremolo (S_msrSingleTremolo trem)
 
S_msrSingleTremolo getNoteSingleTremolo () const
 
void setNoteTie (S_msrTie tie)
 
S_msrTie getNoteTie () const
 
const list< S_msrDynamics > & getNoteDynamics () const
 
const list< S_msrOtherDynamics > & getNoteOtherDynamics () const
 
const list< S_msrWords > & getNoteWords () const
 
list< S_msrWords > & getNoteWordsToModify ()
 
const list< S_msrSlash > & getNoteSlashes () const
 
const list< S_msrWedge > & getNoteWedges () const
 
list< S_msrWedge > & getNoteWedgesToModify ()
 
const list< S_msrEyeGlasses > & getNoteEyeGlasses () const
 
const list< S_msrDamp > & getNoteDamps () const
 
const list< S_msrDampAll > & getNoteDampAlls () const
 
const list< S_msrScordatura > & getNoteScordaturas () const
 
const list< S_msrSlur > & getNoteSlurs () const
 
const list< S_msrLigature > & getNoteLigatures () const
 
const list< S_msrPedal > & getNotePedals () const
 
void setNotePositionInMeasure (rational positionInMeasure)
 
void setNoteOccupiesAFullMeasure ()
 
bool getNoteOccupiesAFullMeasure () const
 
bool getNoteIsStemless () const
 
void setNoteIsAChordsFirstMemberNote ()
 
bool getNoteIsAChordsFirstMemberNote () const
 
void setNoteIsFirstNoteInADoubleTremolo ()
 
bool getNoteIsFirstNoteInADoubleTremolo () const
 
void setNoteIsSecondNoteInADoubleTremolo ()
 
bool getNoteIsSecondNoteInADoubleTremolo () const
 
S_msrOrnament getNoteTrillOrnament () const
 
S_msrOrnament getNoteDashesOrnament () const
 
S_msrOrnament getNoteDelayedTurnOrnament () const
 
S_msrOrnament getNoteDelayedInvertedTurnOrnament () const
 
S_msrSpanner getNoteWavyLineSpannerStart () const
 
S_msrSpanner getNoteWavyLineSpannerStop () const
 
void setNoteIsFollowedByGraceNotesGroup ()
 
bool getNoteIsFollowedByGraceNotesGroup () const
 
void setNoteColor (msrAlphaRGBColor noteColor)
 
msrAlphaRGBColor getNoteColor () const
 
bool noteIsAPitchedRest () const
 
string asShortStringWithRawWholeNotes () const
 
msrDiatonicPitchKind noteDiatonicPitchKind (int inputLineNumber) const
 
void determineTupletMemberSoundingFromDisplayWholeNotes (int actualNotes, int normalNotes)
 
void appendSyllableToNote (S_msrSyllable syllable)
 
void appendBeamToNote (S_msrBeam beam)
 
void appendArticulationToNote (S_msrArticulation art)
 
void appendSpannerToNote (S_msrSpanner span)
 
void appendTechnicalToNote (S_msrTechnical tech)
 
void appendTechnicalWithIntegerToNote (S_msrTechnicalWithInteger tech)
 
void appendTechnicalWithFloatToNote (S_msrTechnicalWithFloat tech)
 
void appendTechnicalWithStringToNote (S_msrTechnicalWithString tech)
 
void appendOrnamentToNote (S_msrOrnament orn)
 
void appendGlissandoToNote (S_msrGlissando glissando)
 
void appendSlideToNote (S_msrSlide slide)
 
void appendDynamicsToNote (S_msrDynamics dynamics)
 
void appendOtherDynamicsToNote (S_msrOtherDynamics otherDynamics)
 
S_msrDynamics removeFirstDynamics ()
 
void appendWordsToNote (S_msrWords words)
 
void appendSlurToNote (S_msrSlur slur)
 
void appendLigatureToNote (S_msrLigature ligature)
 
void appendPedalToNote (S_msrPedal pedal)
 
void appendSlashToNote (S_msrSlash slash)
 
void appendWedgeToNote (S_msrWedge wedge)
 
S_msrWedge removeFirstWedge ()
 
void appendSegnoToNote (S_msrSegno segno)
 
void appendCodaToNote (S_msrCoda coda)
 
void appendEyeGlassesToNote (S_msrEyeGlasses eyeGlasses)
 
void appendDampToNote (S_msrDamp damp)
 
void appendDampAllToNote (S_msrDampAll dampAll)
 
void appendScordaturaToNote (S_msrScordatura scordatura)
 
virtual void acceptIn (basevisitor *v)
 
virtual void acceptOut (basevisitor *v)
 
virtual void browseData (basevisitor *v)
 
string noteKindAsString () const
 
string notePitchAsString () const
 
string noteDisplayPitchKindAsString () const
 
string noteDisplayOctaveAsString () const
 
string notePrintObjectKindAsString () const
 
string noteHeadKindAsString () const
 
string noteHeadFilledKindAsString () const
 
string noteHeadParenthesesKindAsString () const
 
string noteDiatonicPitchKindAsString (int inputLineNumber) const
 
string noteSoundingWholeNotesAsMsrString () const
 
string noteDisplayWholeNotesAsMsrString () const
 
string noteGraphicDurationAsMsrString () const
 
string tupletNoteGraphicDurationAsMsrString (int actualNotes, int normalNotes) const
 
string asString () const
 
string asShortString () const
 
virtual void print (ostream &os) const
 

Static Public Member Functions

static string noteKindAsString (msrNoteKind noteKind)
 
static string noteAccidentalKindAsString (msrNoteAccidentalKind noteAccidentalKind)
 
static string noteEditorialAccidentalKindAsString (msrNoteEditorialAccidentalKind noteEditorialAccidentalKind)
 
static string noteCautionaryAccidentalKindAsString (msrNoteCautionaryAccidentalKind noteCautionaryAccidentalKind)
 
static string noteHeadKindAsString (msrNoteHeadKind noteHeadKind)
 
static string noteHeadFilledKindAsString (msrNoteHeadFilledKind noteHeadFilledKind)
 
static string noteHeadParenthesesKindAsString (msrNoteHeadParenthesesKind noteHeadParenthesesKind)
 
static SMARTP< msrNotecreate (int inputLineNumber, string noteMeasureNumber, msrNoteKind noteKind, msrQuarterTonesPitchKind noteQuarterTonesPitchKind, rational noteSoundingWholeNotes, rational noteDisplayWholeNotes, int noteDotsNumber, msrDurationKind noteGraphicDurationKind, int noteOctave, msrQuarterTonesPitchKind noteQuarterTonesDisplayPitchKind, int noteDisplayOctave, bool noteIsARest, bool noteIsUnpitched, bool noteIsACueNote, bool noteIsAGraceNote, msrPrintObjectKind notePrintObjectKind, msrNoteHeadKind noteHeadKind, msrNoteHeadFilledKind noteHeadFilledKind, msrNoteHeadParenthesesKind noteHeadParenthesesKind)
 
static SMARTP< msrNotecreateRestNote (int inputLineNumber, string noteMeasureNumber, rational soundingWholeNotes, rational displayWholeNotes, int dotsNumber, int staffNumber, int voiceNumber)
 
static SMARTP< msrNotecreateSkipNote (int inputLineNumber, string noteMeasureNumber, rational soundingWholeNotes, rational displayWholeNotes, int dotsNumber, int staffNumber, int voiceNumber)
 
static SMARTP< msrNotecreateNoteFromSemiTonesPitchAndOctave (int inputLineNumber, S_msrSemiTonesPitchAndOctave semiTonesPitchAndOctave)
 

Protected Member Functions

 msrNote (int inputLineNumber, string noteMeasureNumber, msrNoteKind noteKind, msrQuarterTonesPitchKind noteQuarterTonesPitchKind, rational noteSoundingWholeNotes, rational noteDisplayWholeNotes, int noteDotsNumber, msrDurationKind noteGraphicDurationKind, int noteOctave, msrQuarterTonesPitchKind noteQuarterTonesDisplayPitchKind, int noteDisplayOctave, bool noteIsARest, bool noteIsUnpitched, bool noteIsACueNote, bool noteIsAGraceNote, msrPrintObjectKind notePrintObjectKind, msrNoteHeadKind noteHeadKind, msrNoteHeadFilledKind noteHeadFilledKind, msrNoteHeadParenthesesKind noteHeadParenthesesKind)