MiSTer-devel / MSX_MiSTer

MSX for MiSTer
41 stars 22 forks source link

Fix OPLL tremulo (Amplitude Modulator) #5

Closed greyrogue closed 5 years ago

greyrogue commented 5 years ago

It looks like the amplitude modulator phase was originally calculated as 4 bits (plus sign). This was increased by 6 bits of precision, but the corresponding constants were not adjusted to match. This fixes a popping sound that occurs at the amplitude modulation frequency when tremulo is turned on.