UNPKG

jsx

Version:

a faster, safer, easier JavaScript

67 lines (59 loc) 2.36 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Hello, WebAudio!</title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="robots" content="noindex,nofollow"> <!-- Le styles --> <link href="../../assets/css/bootstrap.css" rel="stylesheet"> <style type="text/css"> body { padding-top: 60px; padding-bottom: 40px; } </style> <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements --> <!--[if lt IE 9]> <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script> <![endif]--> <script src="../../build/jsx-script-loader.jsx.js-></script> <script type="application/jsx" src="hello-webaudio.jsx" data-arguments="[]"></script> </head> <body> <div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar-inner"> <div class="container-fluid"> <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </a> <a class="brand" href="/">JSX</a> <div class="nav-collapse"> <ul class="nav"> <li><a href="../../">Try</a></li> <li><a href="../../source-map/">Debug with SourceMap</a></li> <li class="active"><a href="../../example/">Web Application Examples</a></li> </ul> </div><!--/.nav-collapse --> </div> </div> </div> <div class="container"> <div class="row"> <div class="span8"> <h2>Hello, WebAudio!</h2> </div> <div class="span8"> <p id="message">This example of WebAudio API may work on WebKit browsers.</p> <p>Note that <a href="http://www.w3.org/TR/webaudio/">the specification of WebAudio</a> is not stable, so this eample may not work even if you use the latest Chrome or Safari.</p> <p> <input type="button" class="btn btn-primary btn-large" id="start" value="start" disabled="disabled" /> <input type="button" class="btn btn-primary btn-large" id="stop" value="stop" disabled="disabled" /> </p> </div> </div> </div> <!-- /container --> </body> </html>