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 - Sound effects in PSGLib

Reply to topic
Author Message
  • Joined: 06 Sep 2015
  • Posts: 268
  • Location: United States
Reply with quote
Sound effects in PSGLib
Post Posted: Wed May 30, 2018 9:01 pm
I tried making a sound effect in my game that uses channel 2, but MOD2PSG2 decided to automatically null any channel that wasn't being used, so when the sfx played, the music on channels 1 and 0 stopped. Is there a way to make MOD2PSG2 NOT automatically null those channels for a sfx, or am I making sfxs wrong?
  View user's profile Send private message Visit poster's website
  • Joined: 05 Sep 2013
  • Posts: 3827
  • Location: Stockholm, Sweden
Reply with quote
Post Posted: Thu May 31, 2018 7:50 am
when you turn VGMs to PSGs for sound effects, you should always use vgm2psg's third parameter:

*** sverx's VGM to PSG converter ***
Usage: vgm2psg inputfile.VGM outputfile.PSG [2|3|23]
 the optional third parameter specifies which channel(s) should be active,
 for SFX conversion:
 - 2 means the SFX is using channel 2 only
 - 3 means the SFX is using channel 3 (noise) only
 - 23 means the SFX is using both channels


which in your case means you should do


vgm2psg your_sfx.vgm your_sfx.psg 2

  View user's profile Send private message Visit poster's website
  • Joined: 06 Sep 2015
  • Posts: 268
  • Location: United States
Reply with quote
Post Posted: Thu May 31, 2018 10:27 pm
That worked. Thank you so much!
  View user's profile Send private message Visit poster's website
Reply to topic



Back to the top of this page

Back to SMS Power!