Fonction GPMID_GetTrackFretCount

Print

Retrieves how many frets are used in a track in the tablature which is currently loaded.

Syntax

GPMID_ENTRY unsigned int GPMID_GetTrackFretCount(
	unsigned int aTrackIdx
);

Parameters

  1. aTrackIdx

    The zero-based index of the track.

Return value

The number of frets.

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.