Skip to content

getHighestPitch()

Return the pitch of the highest note in the phrase.

Parameters

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

phrase.getHighestPitch()

Returns

return highestPitch

Value Type Description
highestPitch int The highest pitch, as a MIDI pitch.