couldn't really think of a better way to do it, but it looks pretty awesome. you can really see the filter effect too.
27 lines
752 B
HTML
27 lines
752 B
HTML
<head>
|
|
<title>js xm</title>
|
|
<script src="xm.js"></script>
|
|
<script src="xmeffects.js"></script>
|
|
</head>
|
|
<body>
|
|
<div><canvas id='vu' width=224 height=64></canvas></div>
|
|
<div><canvas id='gfxpattern' width=640 height=200></canvas></div>
|
|
<pre id='debug'>
|
|
</pre>
|
|
<pre id='instruments'>
|
|
</pre>
|
|
<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
|
|
- make display even more faithfully FT2-like
|
|
- render instrument list in ft2 font
|
|
- oscilloscope trigger on zero crossing or something
|
|
- multi-sample instruments
|
|
- missing XM effects:
|
|
- E3x, E4x, E5x, E6x, E7x, E9x, EDx, EEx
|
|
- 7xy - tremolo
|
|
- Gxx, Hxy, Kxx, Lxx, Pxy, Txy
|
|
</pre>
|
|
</body>
|
|
|