sound .pan .set  (  Channel ,  Pan  )  
                                
Description :

This instruction alters the panning value of the sound currently playing on a given channel.
The panning value determines the position (between left and right in the sound space) from which the sound channel is played.

Parameters :

  • CHANNEL_1
    CHANNEL_2
    CHANNEL_3
    CHANNEL_4
    CHANNEL_5
    CHANNEL_6
    CHANNEL_7
    CHANNEL_8
    CHANNEL_9
    CHANNEL_10
    CHANNEL_11
    CHANNEL_12
    CHANNEL_13
    CHANNEL_14
    CHANNEL_15
  • Panning. Valid in the range [0, 255] .
    SOUND_PAN_LEFT (or 0)
    SOUND_PAN_RIGHT (or 255)
    SOUND_PAN_MIDDLE

Notes :


Special effects such as stereophony can easily be produced using this instruction.

Examples :