Return to previous page | Return to menu | Go to next page


Bool
Sound function

slBGMTempo

BGM performance speed change

Format

Bool slBGMTempo(Tempo)
Sint16 Tempo ;

Parameter

Tempo Tempo value

Function

Change the playing speed of BGM.

Return value

If the command buffer is full, the function returns FALSE.

Remarks

Specify the range from -32768 to 32767 for the parameter "Tempo".
"Tempo" is a relative tempo value relative to the standard tempo of 0, doubles at 4096 (1000h), and halves at -4096.

Reference: Chapter 14 Sound Library

slBGMTempo


Return to previous page | Return to menu | Go to next page