Best way to handle XM tracks
Moderator: BigEvilCorporation
Best way to handle XM tracks
Hi all,
I'm about to port a game.
No problem with logic and gfx for now but I wonder what'll be the best approach to handle music and sfx.
The original tracks are on XM format.
Following this thread (viewtopic.php?t=336), it would be a bad idea to write my own XM player, even more since I also need to get simple sound fx (ring, etc...)
So how would you do that port ?
Try to rewrite the tracks using another tool (like Defle, TFM, Echo or whatever...) ?
Come on, let's brain storm
I'm about to port a game.
No problem with logic and gfx for now but I wonder what'll be the best approach to handle music and sfx.
The original tracks are on XM format.
Following this thread (viewtopic.php?t=336), it would be a bad idea to write my own XM player, even more since I also need to get simple sound fx (ring, etc...)
So how would you do that port ?
Try to rewrite the tracks using another tool (like Defle, TFM, Echo or whatever...) ?
Come on, let's brain storm
-
- Very interested
- Posts: 237
- Joined: Fri Apr 17, 2009 7:35 pm
- Location: USA
Probably Echo, there's already an XM converter for it I believe?
my album - last thursday died last week
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
You might want to load the XM tracks into an editor first to get an idea about the composition - how many instruments, what kinds of instruments, how many tracks... that sort of thing. Converting XM music using 32 tracks might be beyond what the MD can handle.
Another thing you could consider is if the SCD is present, use it to play the XM music. I've posted a few examples of using mikmod to play music, and a nice MOD player, both for the SCD.
Another thing you could consider is if the SCD is present, use it to play the XM music. I've posted a few examples of using mikmod to play music, and a nice MOD player, both for the SCD.
-
- Very interested
- Posts: 256
- Joined: Tue Sep 11, 2007 9:10 pm
Might be of interest, you will be able to convert FMDrive & SPSG VSTs compositions into VGM files which add the benefit of complex register changes over time and for ANY registers...(special & CSM support will be added later).
https://soundcloud.com/alyjameslab/big- ... sg-vst-now
This is done via an update to the Valley Bell's Mid2VGM converter that will now support FMDrive MIDI controller messages
SPSG VST output can already be converted via Mid2PSG too
I am currently debugging these tools and the update(s) should be available in a few weeks at VGMRIPS
https://soundcloud.com/alyjameslab/big- ... sg-vst-now
This is done via an update to the Valley Bell's Mid2VGM converter that will now support FMDrive MIDI controller messages
SPSG VST output can already be converted via Mid2PSG too
I am currently debugging these tools and the update(s) should be available in a few weeks at VGMRIPS
-
- Very interested
- Posts: 2984
- Joined: Fri Aug 17, 2007 9:33 pm
The main issue to watch out for when generating VGM files is to make sure to init the PCM channel before using it, and any time you switch back to channel 6 FM. Too many VGM files don't, so the PCM doesn't play on real hardware.
The problem probably arises because they check the VGM on PC players that treat the PCM as a completely separate channel independent of FM channel 6. That's the easiest way to make a VGM player for a PC that works, but it isn't how real hardware works, so it doesn't work on real hardware.
Channel 6 FM or PCM must be explicitly initialized before doing FM or PCM, respectively. Every, single, time you switch.
The problem probably arises because they check the VGM on PC players that treat the PCM as a completely separate channel independent of FM channel 6. That's the easiest way to make a VGM player for a PC that works, but it isn't how real hardware works, so it doesn't work on real hardware.
Channel 6 FM or PCM must be explicitly initialized before doing FM or PCM, respectively. Every, single, time you switch.
Yeah, I haven't checked that part of VBell's code but it seems to me that the DAC (ON OFF)register is handled well. Thanks for the reminder anyway
This has been converted from FMDrive VST to VGM (Mid2VGM new beta) then to ROM (with D Fish's VGMPLAY 3.2)
There is a .VGM and Hardware Model 1 recording in the description.
https://soundcloud.com/alyjameslab/wand ... drive-spsg
This has been converted from FMDrive VST to VGM (Mid2VGM new beta) then to ROM (with D Fish's VGMPLAY 3.2)
There is a .VGM and Hardware Model 1 recording in the description.
https://soundcloud.com/alyjameslab/wand ... drive-spsg