Forums

Sega Master System / Mark III / Game Gear
SG-1000 / SC-3000 / SF-7000 / OMV
Home - Forums - Games - Scans - Maps - Cheats - Credits
Music - Videos - Development - Hacks - Translations - Homebrew

View topic - FM Sound for assembly projects?

Reply to topic
Author Message
  • Joined: 25 Feb 2023
  • Posts: 99
Reply with quote
FM Sound for assembly projects?
Post 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?
  View user's profile Send private message
  • Site Admin
  • Joined: 19 Oct 1999
  • Posts: 14745
  • Location: London
Reply with quote
Post 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.
  View user's profile Send private message Visit poster's website
  • Joined: 25 Feb 2023
  • Posts: 99
Reply with quote
Post Posted: Tue Jul 11, 2023 9:15 pm
Maxim wrote
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.


Ok, thank you! I look forward to seeing the FM equivalent!
  View user's profile Send private message
  • Joined: 01 Feb 2014
  • Posts: 878
Reply with quote
Post 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.
  View user's profile Send private message
  • Joined: 25 Feb 2023
  • Posts: 99
Reply with quote
Post Posted: Sat Jul 15, 2023 9:48 pm
Kagesan wrote
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.


Thank you very much for this! I will absolutely look into this more when I'm ready to start putting in the music.
  View user's profile Send private message
Reply to topic



Back to the top of this page

Back to SMS Power!