title: iOS6/7 stop sound going to background using web audio API
body: <p>There are different solutions for the issue when you go to the background in the iPhone or iPad and the sound continuous playing, the most of them for the <a href="https://stackoverflow.com/questions/14414654/stop-html5-audio-from-looping-when-ios-safari-is-closed">HMTL5 audio tag</a>, but are not relevant if you are using Web Audio API because there are not an event like <strong><em>"timeupdate"</em></strong> and is a different concept of course. The <strong><a href="https://gist.github.com/addyosmani/1122546" rel="nofollow noreferrer">Page Visibility API</a></strong> works in iOS7 only if you change of tab, but doesn't if you go to the background, in iOS6 not at all.</p>
  
  <p>Someone knows any way to stop/mute a sound using <strong>Web Audio API</strong> if you go to the background in iOS6 or iOS7?</p>