melonjs
    Preparing search index...

    Function stop

    • stop the specified sound on all channels

      Parameters

      • Optionalsound_name: string

        audio clip name (case sensitive). If none is passed, all sounds are stopped.

      • Optionalid: number

        the sound instance ID. If none is passed, all sounds in group will stop.

      Returns void

      me.audio.stop("cling");