Algosim documentation: GetInstrument

GetInstrument

Returns the current MIDI instrument.

Syntax

Description

GetInstrument() returns the current MIDI instrument as an integer formatted as the instrument name.

Examples

GetInstrument()
String Ensemble 1
integer(ans)
48

See also