Skip to content

getDefaultPitch()

Return the pitch the sequence was created with.

Parameters

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

midisequence.getDefaultPitch()

Returns

return defaultPitch

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