Return to previous page | Return to menu | Go to next page
Bool
Sound function
Change volume of specified sound effect
Bool slSequenceFade(Seqnm , Volume , Rate)
Uint8 Seqnm
Uint8 Volum
Uint8 Rate
Seqnm pronunciation control number Volum volume value Rate Rate value
Gradually changes the volume of the specified sound effect.
If the command buffer is full, the function returns FALSE.
Specify a range of 1 to 7 for the parameter "Seqnm".
Specify a range from 0 to 127 for parameter "Volume" and a range from 0 to 255 for parameter "Rate".
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
slSequenceFade