From Xojo Documentation

Revision as of 14:49, 31 July 2017 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Property (As Integer )
aNotePlayer.Instrument = newIntegerValue
IntegerValue = aNotePlayer.Instrument

Supported for all project types and targets.

The number of the musical instrument to be used to play the note (see the chart in the Instruments section of the NotePlayer.


This example specifies the Church Organ as the instrument.

NotePlayer1.Instrument = 20
NotePlayer1.PlayNote(60, 60)