jsxm/index.html
2015-11-04 07:19:44 -08:00

32 lines
969 B
HTML

<head>
<title>js xm</title>
<script src="xm.js"></script>
<script src="xmeffects.js"></script>
<style>
canvas.centered {
display: block;
margin-left: auto;
margin-right: auto;
};
</style>
</head>
<body onload="main()">
<div style="background:#000">
<div><canvas class="centered" id='title' width=640 height=22></canvas></div>
<div><canvas class="centered" id='vu' width=224 height=64></canvas></div>
<div><canvas class="centered" id='gfxpattern' width=640 height=200></canvas></div>
<div id='instruments'></div>
<div><button id='playpause' disabled=true style="width: 100px">Play</button></div>
</div>
<pre>
code: <a href="http://github.com/a1k0n/jsxm/">github.com/a1k0n/jsxm</a>
todo:
- file picker, upload more xms to a host we can access cross-origin
- render instrument list in ft2 font
- missing XM effects:
- E3x, E4x, E5x, E6x, E7x, E9x, EDx, EEx
- 7xy - tremolo
- Gxx, Hxy, Kxx, Lxx, Pxy, Txy
</pre>
</body>