@malvineous/opl
Version:
Yamaha OPL2/3 FM synth chip emulator
35 lines (34 loc) • 961 B
HTML
<html>
<head>
<title>opl.js Example</title>
<style>
button { color: black; background-color: #ccc; }
.mute { background-color: #ffcccc; }
.play { background-color: #ccffcc; }
</style>
</head>
<body>
<button id="play">Play</button>
<button id="pause">Pause</button>
<script type="text/javascript" src="../lib/opl.js"></script>
<script type="text/javascript" src="../index.js"></script>
<div id="progress">-</div>
<button id="ch0">0</button>
<button id="ch1">1</button>
<button id="ch2">2</button>
<button id="ch3">3</button>
<button id="ch4">4</button>
<button id="ch5">5</button>
<button id="ch6">6</button>
<button id="ch7">7</button>
<button id="ch8">8</button>
<br/>
<button id="p0">HH</button>
<button id="p1">CY</button>
<button id="p2">TT</button>
<button id="p3">SD</button>
<button id="p4">BD</button>
<script type="text/javascript" src="demo-web.js"></script>
</body>
</html>