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


Bool
Sound function

slSequenceFade

Change volume of specified sound effect

Format

Bool slSequenceFade(Seqnm , Volume , Rate)
Uint8 Seqnm
Uint8 Volum
Uint8 Rate

Parameter

Seqnm pronunciation control number
Volum volume value
Rate Rate value

Function

Gradually changes the volume of the specified sound effect.

Return value

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

Remarks

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


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