# Audio always stops halfway through the scene

**URL:** <https://phaser.discourse.group/t/audio-always-stops-halfway-through-the-scene/13768>\
**Category:** Phaser 3\
**Created:** [November 29, 2023, 3:45pm UTC](https://phaser.discourse.group/t/audio-always-stops-halfway-through-the-scene/13768 "2023-11-29T15:45:41Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![diegocndd](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/diegocndd/32/7888_2.png) [@diegocndd](https://phaser.discourse.group/u/diegocndd)\
**Post date:** [November 29, 2023, 3:45pm UTC](https://phaser.discourse.group/t/audio-always-stops-halfway-through-the-scene/13768/1 "2023-11-29T15:45:41Z")

</div>

I’m working on a game and I started analyzing the game’s audio in Phaser 3. The audio works well at the beginning of the scene, no lag or anything like that, with some tweens running along. However, at a certain point (usually halfway through the scene) the audio for the entire game stops and no more sounds play.

My game config:

```javascript
{
      autoFocus: true,
      banner: false,
      disableContextMenu: true,
      roundPixels: true,
      audio: {
        disableWebAudio: false,
      },
      physics: {
        default: "arcade",
        arcade: {
          debug: false,
        },
      },
      render: {
        antialias: true,
        preserveDrawingBuffer: false,
        failIfMajorPerformanceCaveat: false,
        powerPreference: "high-performance",
      },
      type: Phaser.AUTO,
      fps: {
        target: 15,
      },
      plugins: {
        scene: [
          {
            key: "SpinePlugin",
            plugin: window.SpinePlugin,
            start: true,
            mapping: "spine",
          },
        ],
      },
      scale: {
        mode: Phaser.Scale.FIT,
        autoCenter: Phaser.Scale.CENTER_BOTH,
        expandParent: true,
      },
      scene: BootScene
    };

```

I think it’s important to say that the user only sees the execution of the tweens in this scene, they don’t take any action.

Has anyone had a similar problem?

Thanks

---

<div class="post-metadata">

**Author:** ![samme](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/samme/32/5275_2.png) [@samme](https://phaser.discourse.group/u/samme)\
**Post date:** [November 30, 2023, 7:46pm UTC](https://phaser.discourse.group/t/audio-always-stops-halfway-through-the-scene/13768/2 "2023-11-30T19:46:12Z")

</div>

👋

Are you playing a lot of sounds, or long ones?

You can try

```js
console.log('playing', this.sound.getAllPlaying());
console.log('all', this.sound.getAll());

```
