|
ForumsSega Master System / Mark III / Game GearSG-1000 / SC-3000 / SF-7000 / OMV |
Home - Forums - Games - Scans - Maps - Cheats - Credits Music - Videos - Development - Hacks - Translations - Homebrew |
Author | Message |
---|---|
|
FM Sound for assembly projects?
Posted: Tue Jul 11, 2023 9:03 pm
|
A real quick question this time.
Is there any library or sound driver available for use in an assembly-based project to run FM sound? I am familiar with the PSGlib available in the development page but that's for the regular sound. If I had VGM files for an FM version, is it possible to use them similar to how PSGlib works, or am I stuck coding FM sound manually? |
|
|
Posted: Tue Jul 11, 2023 9:12 pm |
There’s no FM equivalent for that yet. I have started work on something but it’s far from ready for use at the moment.
There is a library for the Moonblaster tracker format but that requires you to compose inside an MSX emulator. |
|
|
Posted: Tue Jul 11, 2023 9:15 pm |
Ok, thank you! I look forward to seeing the FM equivalent! |
|
|
Posted: Wed Jul 12, 2023 5:25 am |
Using Moonblaster to create FM music for the SMS is really not nearly as uncomfortable as it sounds. The tracker has many peculiarities, but it’s fairly powerful once you get used to it.
The whole "composing inside an emulator" thing sounds terrible, but you can run MB in Emulicious, which lets you mount folders outside of the emulator as disks within, so you won’t have any hassle when it comes to extracting your music files. Using Moonblaster in Emulicious is literally as easy as using a tracker native to your OS, except that the tracker itself is old and clunky. It’s well-documented, though. You can use the Moonblaster lib pretty much exactly like PSGlib. It even supports FM sound effects, which you can simply convert from your PSG ones with the little converter provided. The main hassle with supporting FM sound is to make it work on all possible system configurations, so you need to detect what the user has and then make your game pick the appropriate player routines. I can help you with that, if you need more information. Here’s what I recommend: Unmodded western SMS, Mark III: PSG music / PSG sfx Mark III + FM unit: FM music / FM sfx Modded western SMS, japanese SMS: FM music / PSG sfx If you want to have a look, the lib is here. |
|
|
Posted: Sat Jul 15, 2023 9:48 pm |
Thank you very much for this! I will absolutely look into this more when I'm ready to start putting in the music. |
|