Function setStereoPan
-
Parameters
- host: AudioGraphHost
A
StaticSound,StreamingSound, orAudioBus. - pan: number
Pan in the range
[-1, 1](-1= full left,1= full right). Optionaloptions: RampOptionsOptional ramp options for a smooth transition.
Returns void
- host: AudioGraphHost
Sets the stereo pan of a sound or bus, building the stereo sub-node on first use.