Processing: Soundfile not found
<p>I have a bit of code that is supposed to play a music file when run.</p>

<pre><code>import processing.sound.*;

SoundFile soundtrack;

void setup(){

    soundtrack = new SoundFile(this, "space_music.wav");

    //soundtrack.play();

}

void draw(){}
</code></pre>

<p>When I run the code, the rest works fine except for the soundtrack initialization. An error message pops up that says </p>

<pre><code>Error: Soundfile doesn't exist. Pleae check path
</code></pre>

<p>When I uncomment the soundtrack.play(), the code just straight up refuses to run. This also happens when the soundtrack.play() is in the draw loop. I double checked to make sure the file names match. Am I doing something wrong?</p>