title: Basic Web Audio API not playing sound
body: <p>I'm trying to follow a tutorial online by piecing together the examples. I feel like this should be playing the mp3 file. I'm using the Chrome browser and it's up to date. I don't get any errors on the console. I'm not sure what I need to change or add to make this work.</p>
  
  <pre><code>   &lt;html&gt;
  
  &lt;head&gt;
  &lt;script type="text/javascript"&gt;
  var context;
  
  var sound1Buffer = null;
  var url  = 'https://dl.dropboxusercontent.com/u/1957768/SrtV2.mp3';
  
  
  function init(){
      try {
          window.AudioContext = window.AudioContext || window.webkitAudioContext;
          context = new AudioContext();
      }
  
      catch(e) {
          alert("web Audio api is not supported!");
      }
  }
  
  window.addEventListener('load', init, false);
  
  function loadDogSound(url){
  
      var request = new XMLHttpRequest();
      request.open("GET", url, true);
      request.responseType = 'arrayBuffer';
  
      //decode asynchronously
      request.onload = function(){
          context.decodeAudioData(request.response, function(buffer){
              sound1Buffer = buffer;
  
          }, onError);
      }
      request.send();
  }
  
  
  function playSound(sound1Buffer){
       var source = context.createBufferSource();
       source.sound1Buffer = sound1Buffer;
  
       source.connect(context.destination);     
       source.start(0);
  }
  
  &lt;/script&gt;
  &lt;/head&gt;
   &lt;body&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>