LWJGL
May 22, 2012, 14:58:59 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL 2.8.3 released!
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: playing a .XM file  (Read 809 times)
Eternity
Newbie
*
Posts: 39


« on: August 23, 2010, 06: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!
Logged
Ciardhubh
Talks Too Much
***
Posts: 159


« Reply #1 on: August 23, 2010, 07: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).
Logged
Eternity
Newbie
*
Posts: 39


« Reply #2 on: August 24, 2010, 00:08:46 »

Thnx!

i managed to get it working with the IBXM library.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!