# Trouble With Sound File

**URL:** <https://discourse.processing.org/t/trouble-with-sound-file/9491>\
**Category:** Libraries\
**Created:** [March 20, 2019, 6:53pm UTC](https://discourse.processing.org/t/trouble-with-sound-file/9491 "2019-03-20T18:53:54Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![kll](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/kll/32/964_2.png) [@kll](https://discourse.processing.org/u/kll)\
**Post date:** [March 21, 2019, 2:15am UTC](https://discourse.processing.org/t/trouble-with-sound-file/9491/2 "2019-03-21T02:15:19Z")

</div>

in your code possibly the last 2 } } are missing?

the last lines,  
4 lines about sound,  
you read ( load song from data/ ) and start a sound.  
but that is inside DRAW and inside a FOR 13

so you actually try to read and start that song 780 times per second.  
( what i think is that none of the 4 lines should be inside DRAW )

> as this question is about play a sound only, pls  
> play first in a extra little “project” to get that running.

and for your sinus i hope what i answered  
[Need Help Animating This Drawing](https://discourse.processing.org/t/need-help-animating-this-drawing/9446) ,  
can help.

---

_[View the full topic](https://discourse.processing.org/t/trouble-with-sound-file/9491)._
