Fonction GPMID_GetOctave

Print

Retrieves the octave of the tablature which is currently loaded.

Syntax

GPMID_ENTRY int GPMID_GetOctave();

Parameters

This function does not accept parameters.

Return value

The octave 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 follow: 0 for the standard value, 8 if the sheet is to be played one octave higher, and so on.

As of Guitar Pro 4, this setting is unused.