Skip to content

setPitch()

Set the sequence's playback pitch, transposing the music to match.

midisequence.setPitch(pitch)

Parameters

midisequence.setPitch(pitch)
Parameter Type Default Description
pitch int or float required The new playback pitch, as a MIDI pitch from 0 to 127.