Skip to content

getPitch()

Return the sequence's current playback pitch.

Parameters

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

midisequence.getPitch()

Returns

return currentPitch

Value Type Description
currentPitch int The current playback pitch, as a MIDI pitch from 0 to 127.