Hello Guest

playing a .XM file

  • 2 Replies
  • 6707 Views
playing a .XM file
« on: August 23, 2010, 13:24:03 »
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!

Re: playing a .XM file
« Reply #1 on: August 23, 2010, 14:22:05 »
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).

Re: playing a .XM file
« Reply #2 on: August 24, 2010, 07:08:46 »
Thnx!

i managed to get it working with the IBXM library.