I want to introduce a new add-on to BASS audio library: BASSZXTUNE. This add-on adds a support for several chiptune/tracker module formats (including but not limited to ZX Spectrum AY/YM modules, Amiga/Atari/PC Engine tracker modules, SID, SAA1099, POKEY modules, NES, SNES, Game Boy, TurboGrafX music formats). The project is located at:https://sourceforge.net/projects/basszxtune/
The add-on is based on ZXTune project (http://zxtune.bitbucket.org/
). All the hard work (decoding functionality) is done by the author of ZXTune. BASSZXTUNE is basically just an interface to ZXTune core.
BASSZXTUNE supports the following extensions: $b, $m, ahx, as0, asc, ay, ayc, bin, cc3, chi, cop, d, dmm, dsq, dst, esv, fdi, ftc, gam, gamplus, gbs, gtr, gym, hes, hrm, hrp, lzs, m, msp, mtc, nsf, nsfe, p, pcd, psc, psg, psm, pt1, pt2, pt3, s, sap, scl, sid, spc, sqd, sqt, st1, st3, stc, stp, str, szx, td0, tf0, tfc, tfd, tfe, tlz, tlzp, trd, trs, ts, vgm, vtx, ym.
- "Supported extensions" doesn't mean "supported formats". Some files with the above mentioned extensions may not be supported by BASSZXTUNE.
- Buffered streams (STREAMFILE_BUFFER, STREAMFILE_BUFFERPUSH, etc) are not supported.
- Streaming in blocks (BASS_STREAM_BLOCK) are not supported.
- Internet streams (BASS_StreamCreateURL) are not supported.
- Only mono and stereo output, no access to separate module channels.
- MS Windows i686 & x86_64 (tested on MS Windows 10 64-bit)
- Linux i686 & x86_64 (tested on Kubuntu 16.10 Yakkety Yak 64/32-bit)
- OSX x86_64 (tested on OSX 10.12 Sierra)
- Android arm_v7a 4.0.3 and later (tested on Nexus 7  with Android 5.1.1 Lollipop & LG G2 with Android 4.4.4 KitKat)
- Android i686 4.0.3 and later (tested on emulator)
Android support is only for native code, I mean I didn't test whether the library can be loaded from Java code or not.
You may find the latest version for your platform and the full changelog here:https://sourceforge.net/projects/basszxtune/files/basszxtune/
The source code:https://bitbucket.org/z80maniac/zxtune
I know, the file size of the library is ridiculously huge compared to the official add-ons, but I think it's worth it.
You may also be interested in a similar plugin for XMPlay:http://www.un4seen.com/forum/?topic=16496.0