title: Setting an audio source to a variable
body: <p>So I was wondering if something like this is possible in javascript.</p>
  
  <pre><code>&lt;audio id="audio"&gt;
      &lt;source src="yourAudio.mp3" type="audio/mp3"&gt;
  &lt;/audio&gt;
  &lt;script type="text/javaScript"&gt;
  var alarm = document.getElementById("audio");
  //This basically sets the value of the audio to this variable
  
  //So that I can do something like this
  alarm.play();
  
  alarm.pause();
  &lt;/script&gt;
  </code></pre>
  
  <p>This method does not work, I have tried it already. But is there any other JS wizardry that could emulate this? </p>