Skip to content

getPitch()

Return the note's pitch.

note.getPitch()

Returns

return pitch

Value Type Description
pitch int The MIDI pitch, from 0 to 127, or REST for a rest.