CAPlayable * lastNote()
Definition: tuplet.cpp:315
void setVoice(CAVoice *v)
Definition: playable.cpp:58
CAContext * context()
Definition: muselement.h:48
CAStaff * staff()
Definition: playable.h:33
CAPlayable * firstNote()
Definition: tuplet.cpp:301
bool isLastInTuplet()
Definition: playable.h:36
bool remove(CAMusElement *elt, bool updateSignsTimes=true)
Definition: voice.cpp:307
Class which represents a voice in the staff.
Definition: voice.h:23
virtual CAPlayable * clone(CAVoice *voice=0)=0
CAContext * _context
Definition: muselement.h:90
void setTuplet(CATuplet *t)
Definition: playable.h:29
Playable instances of music elements.
Definition: playable.h:18
void setTimeLength(int length)
Definition: muselement.h:54
CAPlayable(CAPlayableLength length, CAVoice *voice, int timeStart, int timeLength=-1)
Definition: playable.cpp:32
void removeNote(CAPlayable *p)
Definition: tuplet.h:36
void setPlayableLength(CAPlayableLength &l)
Definition: playable.h:24
void setContext(CAContext *context)
Definition: muselement.h:49
CATuplet * _tuplet
Definition: playable.h:44
CATuplet * tuplet()
Definition: playable.h:28
virtual int timeLength() const
Definition: muselement.h:53
virtual ~CAPlayable()
Definition: playable.cpp:50
void resetTime()
Definition: playable.cpp:83
Class used for tuplets (triplets, duols etc.)
Definition: tuplet.h:17
bool isFirstInTuplet()
Definition: playable.h:35
Represents a staff in the sheet.
Definition: staff.h:25
An abstract class which represents every music element in the score.
Definition: muselement.h:21
CAVoice * _voice
Definition: playable.h:43
void setTimeStart(int time)
Definition: muselement.h:52
Musical length of notes and rests.
Definition: playablelength.h:16
static const int playableLengthToTimeLength(CAPlayableLength length)
Definition: playablelength.cpp:107
int timeEnd()
Definition: muselement.h:55
virtual int timeStart() const
Definition: muselement.h:51
CAStaff * staff()
Definition: voice.h:29
Line of music elements in the sheet.
Definition: context.h:16
CAPlayableLength _playableLength
Definition: playable.h:42
void calculateTimeLength()
Definition: playable.cpp:69
virtual CAPlayable * clone(CAContext *context)
Definition: playable.h:25
CAVoice * voice()
Definition: playable.h:31
CAPlayableLength & playableLength()
Definition: playable.h:23