Mod Archive Forums
Community => Project / Coder's Corner => Topic started by: zenon on April 18, 2010, 19:22:50
-
Hi all, for my XM development purpose I wish to know how a wave is stored in xm standards.
I ready several specs but I'm not sure what I do is right.
Is it right if I encode entire (header includer) wav with delta encoding and put in into sample data?
May I follow the little code sample here at http://en.wikipedia.org/wiki/Delta_encoding ?
And just one last question, does it works even for a stereo sample or I have first to split channels?
Thanks in advance :)
-
Why do you ask again? If my previous explanation was unclear, please tell me. Or are you just oblivious? :P
-
lol !
I didn't want to bother always you, these days I haven't got my development software so I'm feeling a bit nervous and I'm collecting as many info as I can... ;D
This time I wasn't sure if I must do the split channel job only for the for unofficial stereo addon you told me in the other forum or in general for any stereo sample I must put on xm.
-
When using stereo samples, the channels are stored separately, meaning that you first completely delta-encode the left channel, and then you do the same thing with the right channel and put it after the left channel.
-
...stereo samples shouldn't really go in XMs.
-
...stereo samples shouldn't really go in XMs.
Still, they are supported in a wide variety of trackers and players and they're useful for his goal (writing a XRNS to XM converter).