Return to previous page | Return to menu | Go to next page
Bool
Sound function
Change BGM performance volume
Bool slBGMFade(Volume , Rate)
Uint8 Volume ;
Uint8 Rate ;
Volume Volume value Rate Rate value
Gradually change the BGM performance volume.
If there is no room in the command, the function returns FALSE.
Parameter "Volume" has a range from 0 to 127, parameter "Rate"
Specify a range from 0 to 255.
For "Rate", specify the interval from the current volume to the specified volume.
If 0 is specified for "Rate", the volume specified for "Volume" is set immediately.
Reference: Chapter 14 Sound Library
slBGMFade