GPMID_GetMeasureTonality function

Print

Retrieves the tonality embedded in a measure in the tablature which is currently loaded.

Syntax

Print

  1. GPMID_ENTRY signed char GPMID_GetMeasureTonality(
  2. unsigned int aMeasureIdx
  3. );

Parameters

  1. aMeasureIdx

    The zero-based index of the measure for which to retrieve the tonality.

Return value

The tonality of the measure.

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_GetMeasureCount minus 1.