title: Setting the granularity of the HTML5 audio event 'timeupdate'
body: <p>I'm trying to create a simple looping feature using HTML5 audio and have a very primitive solution as follows:</p>
  
  <pre><code>$(audio).bind('timeupdate', function() {
    if (audio.currentTime &gt;= 26){
      var blah = audio.currentTime; 
      audio.currentTime = 23;
      console.log(blah);
    }
  })
  </code></pre>
  
  <p>This works fine but the only glitch here is that the timeupdate event doesnt trigger very consistently. For instance, the console.log above returned:
  26.14031982421875</p>
  
  <p>26.229642868041992</p>
  
  <p>26.13462257385254</p>
  
  <p>26.21796226501465</p>
  
  <p>...etc. (You get the idea..inconsistent times)</p>
  
  <p>Obviously this won't work for an application where the timing is important (music applications). So the obvious solution to me would be to increase the granularity with which the timeupdate event is triggered. I havent been able to find any API docs...but would love to know if there is a way to do this.</p>