JSFiddle - React, Tailwind, and code Playground
by Ehsan Ziya
HTML
<script src="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.js"></script>
<div id='test'></div>
CSS
#test{
width: 200px;
height: 200px;
background-color: black;
border: black 1px solid;
}
JavaScript
var context = new webkitAudioContext();
$('#test').on('tap',function(){
var osc = context.createOscillator();
osc.connect(context.destination);
var now = context.currentTime;
osc.start(now);
osc.stop(now+0.2);
});