aaronsgiles / ymfm

BSD-licensed Yamaha FM sound cores (OPM, OPN, OPL, and others)
BSD 3-Clause "New" or "Revised" License
259 stars 40 forks source link

Balance issue between YM2610 FM and SSG #23

Closed LeonardoDemartino closed 2 years ago

LeonardoDemartino commented 2 years ago

FM sine wave, silence, SSG square wave. Up, YMFM Down, previous MAME core. image

DefleMask tracker fixes this by dividing by 5 the SSG output. https://deflemask.com/ym2610_balance_test.vgm

aaronsgiles commented 2 years ago

I don't really consider this an issue. It was a deliberate decision.

The outputs for the SSG and FM are physically separate on the chip, and need to be volume controlled independently. I picked the current SSG output level as a reasonable default when playing some random VGM files. But each game has independent control over the volumes of the outputs, so there's really no one size fits all approach. The output level from MAME's old core is just as arbitrary. :)