Click here to Skip to main content
15,905,593 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello,everyone.I'mlooking for,I have been in a Google search for information on the Xm file format on XM music file format,as well as the XM file structure format.But do not have any information,I want to write an XM player,I have not got a clue,I hope we can give a point of reference information.
Thank you In advance!
Posted
Comments
Sergey Alexandrovich Kryukov 17-Mar-12 17:52pm    
Could you tell us, why did you accept 3 spam posts on these page?
--SA
C++Kernel 17-Mar-12 17:56pm    
sorry, i modified,really sorry,next time i verification.my carelessness

1 solution

That's an advanced project to start with if you don't already know where to begin.

I would suggest that you start with a player that can read raw wave (PCM) files and play them, as a starting point.

Then when you have that player working well, attempt to plug in your XM code. By the time you get a wave file player running, the XM code will make more sense to you.

When I'm not sure how to start with a project like this one, I begin with the parts I do understand. And I build a project that will make troubleshooting easier.

So in that line of thinking, if you know your player is functional before you start the XM coding, then you won't have to debug that, while you're debugging you XM code. You'll have confidence in that part of the project.

************************************

P.S. I just reread your post. The first time I thought I read that you found the XM format info, but on a reread, I think you don't.

I'm guessing that XM is a proprietary format. But it's probably based on an existing CODEC. You may need to deconstruct it on your own. You'll need to look at in a binary editor and determine what codecs it resembles. you'll do this by comparing it's header to other documented codecs. It is possible that the XM data is encrypted, which would make your effort a bit tougher.

When you get into proprietary formats, you're unlikely to be able to get much help in decoding them, unless you're willing to pay for it. It can take many hours for an experienced engineer to work them out, if the format deviates much from the standards.

Having said that, it could be as simple as being an MP3 file, with some header changes to make it incompatible with standard players.
 
Share this answer
 
v2
Comments
C++Kernel 19-Mar-12 13:40pm    
Thank you very much answer of JackDingler,I still do not know,now unemployed,do not know what do do,hey,coding still,how do ah,did not work.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900