set Pan
Sets the pan of the audio, which can be set between 0.0 and 1.0. A pan of 0.0 means the audio is fully left, 1.0 means the audio is fully right, and 0.5 means the audio is centered (default).
Parameters
pan
The pan value to set, which must be between 0.0 and 1.0.
Throws
Illegal Argument Exception
if the pan value is not between 0.0 and 1.0.