Set volume of both sound chips
Posted: Thu Aug 25, 2016 3:32 pm
I'm working on a game and right now I have two pieces of code: one controls FM music and it runs on TMF modules, done throught TMFmaker and based on Shiru's code to run tfd files. The other controls PSG sound done with Deflemask, and converted to VGM and then to PSG, the code that runs it is done by me (mostly because I don't find any done for the 68000).
What I'm wondering is if there is a way of controlling the volume of those chips at once, or a controlling volume of both chips independently. I know that you can control every channel volume of PSG chip, so I can introduce some code to reduce proportionality each channel volume, if there is no general approach that will do for PSG sound. But I have no idea if there is a master volume for FM chip or I should do the same.
Once you have both implementations running there is a way to control volume of music (FM) and sound (PSG)?
What I'm wondering is if there is a way of controlling the volume of those chips at once, or a controlling volume of both chips independently. I know that you can control every channel volume of PSG chip, so I can introduce some code to reduce proportionality each channel volume, if there is no general approach that will do for PSG sound. But I have no idea if there is a master volume for FM chip or I should do the same.
Once you have both implementations running there is a way to control volume of music (FM) and sound (PSG)?