Hi!
Last week, I soldered together my own take on the YM2149 sound module, heavily inspired by Ed Brindley’s module. And just got another confirmation of the wisdom that one should never ever add any connection without understanding what it does. I’m posting this here in case anybody else sees the same phenomenon and browses the net in search of a solution.
While everything seemed to be working just fine, I noticed a strange kind of very unmusical distortion in some of the base and percussion parts during playback in several of the PT3 tunes that come with RomWBW.
I first thought it might be due to signal levels being more than my cheap PC speakers like. But attenuation didn’t help. Then I thought it might be the center channel loading each other ones, but removing the connection to that didn’t help.
Anyway, after a few days of discontent I noticed in some experiments from BASIC that the notes came out lower than what I was calculating. I remembered the mention of the YM2149’s built-in clock divider and started wondering how that is activated.
Turns out I had grounded the SEL pin of the YM2149, "following" (as I thought) Ed’s schematic. (Without reading the documentation about the particular jumper involved) Grounding it activates the clock divider, so I was actually running it an octave low. For much of the music, this doesn’t really matter, but I think for some of the percussion and bass effects, the (unchanged) speed of register updates in the playback software starts interfering with the frequency of the signals the YM2149 produces.
Removed one wire, and it sounds a lot better!
TLDR: if your YM2149 sounds kind of distorted while playing back pt3 files although it sounds OK when playing single notes: check the SEL signal!
Martin