Return to previous page | Return to menu | Go to next page
Uint8
Sound function
Starting the specified sound effect
Uint8 slSequenceOn(Song , Prio , Volume , Pan)
Uint16 Song ;
Uint8 Prio ;
Uint8 Volume ;
Sint8 Pan ;
Song Sound control number Prio priority value Volume Volume value Pan Pan value
Starts the specified sound effect.
In case of normal termination, the function returns the pronunciation management number.
If the command buffer and pronunciation management buffer are full, the function returns FALSE.
Specify a range of 0 to 31 for the parameter "Prio". The lower the number, the higher the priority.
Specify a range from 0 to 127 for the parameter "Volume".
Specify a range from -127 to 127 for the parameter "Pan".
(-127 (left) <---> 0 (center) <---> 127 (right))
Since the SCSP pan has 32 steps, the lower 3 bits of “Pan” are ignored.
Reference: Chapter 14 Sound Library
slSequenceOn