Skip to content

getLength()

Return how long the note actually sounds.

note.getLength()

Duration is the note's written value; length is how long it actually sounds, normally about 90% of the duration so notes sound separate.

Returns

return length

Value Type Description
length int or float The sounding length, in the same units as duration.