42 lines
1.2 KiB
HTML
42 lines
1.2 KiB
HTML
<head>
|
|
<title>js xm</title>
|
|
<script src="xm.js"></script>
|
|
<script src="xmeffects.js"></script>
|
|
<script src="http://a1k0n-pub.s3-website-us-west-1.amazonaws.com/xm/xmlist.js"></script>
|
|
<style>
|
|
|
|
.centered {
|
|
display: block;
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
}
|
|
|
|
#filelist a { color: #fff; }
|
|
|
|
</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>
|
|
<p style="text-align: center">
|
|
<button id='playpause' disabled=true style="width: 100px">Play</button>
|
|
<button id='loadbutton' style="width: 100px">Load</button>
|
|
</p>
|
|
</div>
|
|
<div style="display: none" id='filelist'></div>
|
|
</div>
|
|
<pre>
|
|
code: <a href="http://github.com/a1k0n/jsxm/">github.com/a1k0n/jsxm</a>
|
|
todo:
|
|
- missing XM effects:
|
|
- E3x, E4x, E5x, E6x, E7x, E9x, EDx, EEx
|
|
- 7xy - tremolo
|
|
- Gxx, Hxy, Kxx, Lxx, Pxy, Txy
|
|
- render pattern with the wider fonts for fewer channels
|
|
</pre>
|
|
</body>
|
|
|