Skip to content

getLongestDuration()

Return the duration of the longest note in the phrase.

phrase.getLongestDuration()

Returns

return longestDuration

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