# P5 Sound Issues

**URL:** <https://discourse.processing.org/t/p5-sound-issues/15573>\
**Category:** Libraries\
**Created:** [November 17, 2019, 12:34pm UTC](https://discourse.processing.org/t/p5-sound-issues/15573 "2019-11-17T12:34:43Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![GoToLoop](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/gotoloop/32/86_2.png) [@GoToLoop](https://discourse.processing.org/u/GoToLoop)\
**Post date:** [November 17, 2019, 1:09pm UTC](https://discourse.processing.org/t/p5-sound-issues/15573/4 "2019-11-17T13:09:16Z")

</div>

> [@seanzshow](#):
>
> The issues above still remain in that **addPhrase()** and **loop()** functions are `undefined`.

- It’s not the methods which are `undefined`, but the variable _drums_ itself!
- You only declare it globally: `let drums;`
- But you had never initialized it anywhere!

---

_[View the full topic](https://discourse.processing.org/t/p5-sound-issues/15573)._
