Algosim documentation: InstrumentInfo

InstrumentInfo

Returns information about a MIDI instrument.

Syntax

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

See also