Represents a rest, i.e. a silent constituent of a voice (opposed to
Chord, which is made of notes).
Rest can be created with:
rest = new Rest();
rest = new Rest(score);
where score is a
Rest existing at a given time of a given voice of a given staff of a score can be obtained by moving a
Cursor to the needed staff / voice / time and using:
if ( cursor.isRest() ) rest = cursor.rest();
|tickLen||integer||length of the rest; expressed in conventional units (see Tick Length values).|
Add the Harmony harmony to the staff point corresponding to the rest.