title: Xcode system("afplay music.wav"); doesn't seem to work
body: <p>I am writing a Command-Line C Application when after browsing through stack overflow I found this: <a href="https://stackoverflow.com/questions/14486347/playing-wav-c-mac">Playing .wav C Mac</a>, the answers state that using system(&quot;afplay music.wav&quot;); plays music, but this doesn't seem to be working for me, I stored the music exactly where my main.c is located. I am not using any external libraries and I am not a pro at c so it would be appreciated if you would simplify things :)</p>
  <p>Here is the code</p>
  <pre><code>void main()
  {
      system(&quot;afplay IntroSpeechByGuide.wav&quot;);
  }
  </code></pre>