LWJGL
May 22, 2012, 14:58:59
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
LWJGL 2.8.3 released!
Home
Help
Search
Login
Register
LWJGL
>
Programming
>
OpenAL
>
playing a .XM file
Pages: [
1
]
« previous
next »
Print
Author
Topic: playing a .XM file (Read 809 times)
Eternity
Newbie
Posts: 39
playing a .XM file
«
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
Re: playing a .XM file
«
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
Re: playing a .XM file
«
Reply #2 on:
August 24, 2010, 00:08:46 »
Thnx!
i managed to get it working with the IBXM library.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
Programming
-----------------------------
=> Lightweight Java Library Game Development
=> LWJGL Documentation
=> Bug Reports / RFE
=> OpenGL
=> OpenAL
=> General Java Game Development
-----------------------------
Archive
-----------------------------
=> Resolved Bugs/RFE
=> DirectX
=> DevIL
=> FMOD
Loading...