shithub: ft2play

ref: 3ceeb1f13df99ca092eb463ea62904b97a085118
dir: ft2play/README.md

View raw version
# ft2play
Bit-accurate C port of FT2.09's XM replayer (SB16/WAV render mode). \
The project contains example code in the ft2play folder on how to interface with the API.

# Notes
- This is <i>not</i> the same replayer/mixer code used in the FT2 clone
- The accuracy has only been compared against a few songs
- The code may not be 100% safe for use as a replayer in other projects, and as such I recommend to use this only for reference

# How to test accuracy
1) Open FT2.08 or FT2.09 (use a fresh program start for every render) and load a song. Make sure "16-bit mixing", "Stereo" and "Interpolation" is enabled in the config screen.
2) Save as WAV (freq=44100Hz, amp=4)
3) Render the same song to WAV using ft2play (f.ex. "ft2play mysong.xm --render-to-wav")
4) Use a program capable of verifying the binary integrity between the two output files. If they differ, you found a problem and should create a new issue for this project on github. :)