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


Bool
Sound function

slSequencePan

Change the direction of sound effect you specify

Format

Bool slSequencePan(SEqnm , Pan)
Uint8 Seqnm ;
Sint8 Pan ;

Parameter

Seqnm pronunciation control number
Pan Pan value

Function

Changes the direction 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 -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


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