GetNumKnobs

Finds how many knobs an Instrument has.

Synopsis

int32 GetNumKnobs (Item Instrument)

Description

This function indicates how many knobs an instrument has.

Arguments

Instrument
The item number of the instrument.

Return Value

The function returns the number of knobs if successful (a non-negative value: 0 means no knobs) or an error code (a negative value) if an error occurs.

Implementation

Folio call implemented in Audio folio V20.

Associated Files

audio.h

See Also

GetKnobName(), GrabKnob(), Knob