Fonction GPMID_GetKey

Print

Retrieves the key of the tablature which is currently loaded.

Syntax

GPMID_ENTRY signed char GPMID_GetKey();

Parameters

This function does not accept parameters.

Return value

The key of the tablature.

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 returns values that can be interpreted as follows: 0 for C, 1 for G (#), 2 for D (##), -1 for (b), and so on.