GPMID_GetTrackEffectsMidiChannel function

Print

Retrieves the MIDI channel associated to which is associated in the tablature which is currently loaded.

Syntax

Print

  1. GPMID_ENTRY unsigned int GPMID_GetTrackEffectsMidiChannel(
  2. unsigned int aTrackIdx
  3. );

Parameters

  1. aTrackIdx

    The zero-based index of the track for which to retrieve the associated MIDI channel.

Return value

The MIDI channel.

Remarks

Before using this function, GPMID must have been initialized with GPMID_Init and a tablature must have been successfully loaded with GPMID_Load.

This function can be called with an index ranging from 0 to the value returned by GPMID_GetTrackCount minus 1.