Skip to content

getInstrument()

Return the phrase's instrument.

phrase.getInstrument()

Returns

return instrument

Value Type Description
instrument int The instrument (timbre), as a MIDI instrument number from 0 to 127.