audio.stereo

stereo(sound_name: string, pan: number) → {number}

get or set the stereo panning for the specified sound.

me.audio.stereo("cling", -1);
Parameters:
Name Type Attributes Description
sound_name string

audio clip name - case sensitive

pan number

<optional>

the panning value - A value of -1.0 is all the way left and 1.0 is all the way right.

Returns:
Type Description
number

the current panning value

Powered by webdoc!