Skip to content

setPitch()

Set the note's pitch.

note.setPitch(pitch)

Parameters

note.setPitch(pitch)
Parameter Type Default Description
pitch int required The new MIDI pitch, from 0 to 127, or REST for a rest.