InstrumentInfo
Returns information about a MIDI instrument.
Syntax
-
InstrumentInfo(i)
-
i
is a string or an integer
-
Description
If i
is the name of a MIDI instrument as a string, or a MIDI instrument number between 0 and 127, then InstrumentInfo(i)
returns a structure containing data about this instrument.
Examples
InstrumentInfo("Acoustic Grand Piano")
InstrumentFamily: Piano InstrumentName: Acoustic Grand Piano IsPercussionChannel: false ProgramNumber: 0