# Two sound managers (Phaser 3)

**URL:** <https://phaser.discourse.group/t/two-sound-managers-phaser-3/5681>\
**Category:** Examples\
**Created:** [March 29, 2020, 12:08am UTC](https://phaser.discourse.group/t/two-sound-managers-phaser-3/5681 "2020-03-29T00:08:50Z")\
**Posts on this page:** 2\
**Page:** 1

<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:** [March 29, 2020, 12:08am UTC](https://phaser.discourse.group/t/two-sound-managers-phaser-3/5681/1 "2020-03-29T00:08:50Z")

</div>

Web Audio and HTML Audio 💕

https://codepen.io/samme/embed/preview/mdJQbBr?height=300&slug-hash=mdJQbBr&default-tabs=js,result&host=https://codepen.io

---

<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:** [October 21, 2022, 6:46pm UTC](https://phaser.discourse.group/t/two-sound-managers-phaser-3/5681/2 "2022-10-21T18:46:22Z")

</div>

Revisiting this — I don’t see a good reason to mix audio modes. Without that it’s just

```javascript
new Phaser.Game({
  callbacks: {
    preBoot: function (game) {
      game.music = Phaser.Sound.SoundManagerCreator.create(game);
    }
  }
});

```

https://codepen.io/samme/embed/preview/MWGNEdp?default-tabs=js%2Cresult&height=300&host=https%3A%2F%2Fcodepen.io&slug-hash=MWGNEdp
