playing a .XM file

Started by Eternity, August 23, 2010, 13:24:03

Previous topic - Next topic

Eternity

Hi.

this seems like a stupid question but i cant seem to find any good information.
I simply want to use OpenAL to play .XM music files and other similar tracker music formats. Do i need to read in the .XM file, convert it to the suiteble format and then pass it to WaveData.create(byte[] buffer)? or how is it done?

Thnx in Advance!

Ciardhubh

Mods have to be synthesised to PCM audio data. This data is then passed to OpenAL. IBXM is a great library for many module formats: http://sites.google.com/site/mumart/ (get_audio(...) in class IBXM).

Eternity

Thnx!

i managed to get it working with the IBXM library.