examples/index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Bap examples</title>
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.5/styles/monokai_sublime.min.css">
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/8.5/highlight.min.js"></script>
<link href='http://fonts.googleapis.com/css?family=Source+Serif+Pro:400,700' rel='stylesheet' type='text/css'>
<link href='main.css' rel='stylesheet' type='text/css'>
</head>
<body>
<ul id="menu">
<li><a href="#metronome">metronome</a></li>
<li><a href="#boombap">boombap</a></li>
<li><a href="#slices">slices</a></li>
<li><a href="#sequences">sequences</a></li>
<li><a href="#sequences2">sequences2</a></li>
<li><a href="#effects">effects</a></li>
<li><a href="#oscillator">oscillator</a></li>
</ul>
<div class="hero">
<h1>Example: <span id="example-name"></span></h1>
</div>
<div class="content">
<p id="description"></p>
<ul>
<li id="loading-state" style="display:none;">Loading samples...</li>
<li>Position: <strong id="position">0.0.00</strong></li>
<li>Tempo: <strong id="tempo">0 bpm</strong></li>
<li>Looped: <strong id="looped">0</strong></li>
<li id="toggle-playback"></li>
</ul>
<pre><code contenteditable id="source" class="javascript"></code></pre>
<p>Made with <a href="http://bapjs.org">Bap</a> by <a href="http://adamrenklint.com">Adam Renklint</a>.</p>
</div>
<script src="bundle.js"></script>
</body>
</html>