superctr / MDSDRV

Sound driver for Sega Mega Drive
zlib License
63 stars 4 forks source link

Starting a new song causes unwanted FM sounds #11

Closed superctr closed 4 years ago

superctr commented 4 years ago

When starting a new song (and not completely stopping the previous one before), there is noise generated by the FM channels.

This is caused by the FM envelope generator not being completely muted before loading a new instrument. To fix, either we mute FM channels or set the RR to max on all operators by default after starting a new song