sound_background_tempo(factor)
Jump to navigation
Jump to search
Description
Sets the tempo of the background music if a midi file is playing.
Parameters
Parameter | Description |
---|---|
factor | indicates the factor with which to multiply the tempo, between 0.01 and 100, 1 corresponding to the normal tempo |
Return Values
void: This function does not return anything.
Example Call
// demonstrates setting the tempo of background music
sound_background_tempo(2);