MiSTer-devel / MegaCD_MiSTer

Mega CD for MiSTer
GNU General Public License v3.0
69 stars 38 forks source link

Possible to add amplify option? #88

Open 40wattrange opened 2 years ago

40wattrange commented 2 years ago

It seems that this core is very quiet compared to a lot of others. If using it during streaming I have to add roughly 10db of gain just to get it roughly where everything else sits.

Is there a way to add an amplify option so the volume is of a "normal" level with the rest of the cores? Maybe something like a +10db toggle?.

I understand the core probably already has the exact audio, so that's why I just request as an option rather than modifying the audio overall.

birdybro commented 2 years ago

Something like this could probably be added...

https://github.com/MiSTer-devel/TurboGrafx16_MiSTer/blob/master/TurboGrafx16.sv#L261-L263

Wouldn't be simple enough for me to add personally, so someone else more skilled will have to do it. Here's how it's done in the TGFX16-CD core:

https://github.com/MiSTer-devel/TurboGrafx16_MiSTer/blob/30c7dc075776300fb35c84411a62a8b8dedb740c/TurboGrafx16.sv#L751

SegaSnatcher commented 2 years ago

As far as I recall the FM audio gain was reduced as a way to prevent distortion via the Genesis core and I assume those changes were inherited in the Mega CD core as well. Perhaps an option to boost just the CD red book audio could be added without worrying about distortion/clipping, but then you might have too low FM audio balance.

sorgelig commented 11 months ago

I will add a compressor similar to TGFX

sorgelig commented 11 months ago

Added. Check upcoming nightly/unstable build.

Zophar1 commented 11 months ago

Thank you sorgelig! Sounds great for me at 4X. Thanks for implementing this - "The Domain" appreciates you!