DS GBA
mmSetModuleTempo

Back to Index

Prototype

void mmSetModuleTempo( mm_word tempo );

Parameters

tempo

New tempo value. Tempo value = (speed_percentage * 1024) / 100.

Description

This function changes the master tempo for module playback. Specifying 1024 will play the module at its normal speed. Minimum and maximum values are 50% (512) and 200% (2048). Note that increasing the tempo will also increase the module processing load.

See Also

mmSetModulePitch