Skip to content

getDuration()

Return how long the note lasts in the written score.

note.getDuration()

Returns

return duration

Value Type Description
duration int or float The duration, as a float where 1.0 is a quarter note.