Return to previous page | Return to menu | Go to next page
Bool
Sound function
Change the direction of sound effect you specify
Bool slSequencePan(SEqnm , Pan)
Uint8 Seqnm ;
Sint8 Pan ;
Seqnm pronunciation control number Pan Pan value
Changes the direction 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 -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
slSequencePan