Skip to content

getShortestDuration()

Return the duration of the shortest note in the phrase.

Parameters

Once an object phrase has been created, you can use the following function:

phrase.getShortestDuration()

Returns

return shortestDuration

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