melonJS
    Preparing search index...

    Function stereo

    Get or set the stereo panning for a sound.

    Call with just sound_name to read back the group's current pan; call with a pan value (and optionally id) to write it.

    Audio clip name (case-sensitive).

    Pan value, -1.0 (full left) to 1.0 (full right). Omit to read the current value.

    Sound instance ID. When omitted, all sounds in the group are affected.

    The current pan value when called as a getter; nothing when called as a setter.

    me.audio.stereo("cling", -1);   // set
    me.audio.stereo("cling"); // read