Cursor


Methods

void rewind(int type)
get tempo at current tick
rewind cursor
type=0 rewind to start of score
type=1 rewind to start of selection
type=2 rewind to end of selection
bool next()
bool nextMeasure()
void add(Ms::Element*)
void addNote(int pitch)
void setDuration(int z, int n)
set duration
z: numerator
n: denominator
Quarter, if n == 0

Properties

trackint current track
staffIdxint current staff (track / 4)
voiceint current voice (track % 4)
filterenum segment type filter
elementMs::Element* current element at track, read only
segmentMs::Segment* current segment, read only
measureMs::Measure* current measure, read only
tickint midi tick position, read only
timedouble time at tick position, read only
tempofloat tempo at tick position, read only
keySignatureint key signature of current staff at tick pos. (read only)
timeSignatureMs::TimeSig* time signature of current staff at tick pos. (read only)
scoreMs::Score* associated score