title: Something like MozAudioAvailable with Webkit's audio API?
body: <p>I have been experimenting with Firefox's Audio API to detecting silence in audio. (The point is to enable semi-automated transcription.)</p>
  
  <p>Surprisingly, this simple code more or less suffices to detect silence and pause:</p>
  
  <pre><code>var audio = document.getElementsByTagName("audio")[0];
  
  audio.addEventListener("MozAudioAvailable", pauseOnSilence, false);
  
  function pauseOnSilence(event) { 
    var val = event.frameBuffer[0];
    if (Math.abs(val) &lt; .0001){
      audio.pause();
    }
  }
  </code></pre>
  
  <p>It's imperfect but as a proof of concept, I'm convinced.</p>
  
  <p>My question now is, is there way to do the same thing in Webkit's Audio API? From what I've seen of it it's more oriented toward synthesize than sound processing (but perhaps I'm wrong?).</p>
  
  <p>(I wish the Webkit team would just implement the same interface that Mozilla has created, and then move on to their fancier stuff...)</p>