# Loading Audio

**URL:** <https://phaser.discourse.group/t/loading-audio/1306>\
**Category:** Phaser 3\
**Created:** [February 19, 2019, 6:55pm UTC](https://phaser.discourse.group/t/loading-audio/1306 "2019-02-19T18:55:14Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![yannick](https://yyz2.discourse-cdn.com/free1/user_avatar/phaser.discourse.group/yannick/32/732_2.png) [@yannick](https://phaser.discourse.group/u/yannick)\
**Post date:** [February 19, 2019, 9:59pm UTC](https://phaser.discourse.group/t/loading-audio/1306/6 "2019-02-19T21:59:29Z")

</div>

You can use `!this.load.isLoading()` instead

```javascript
playing = false

create() {
  this.load.audio('song', ['assets/sounds/0781.ogg'])
  this.load.start()
}

update() {
  if (!this.playing && !this.load.isLoading()) {
    this.playing = true
    this.sound.play('song') // this works
  }

```

---

_[View the full topic](https://phaser.discourse.group/t/loading-audio/1306)._
