Fujix1 / NanoDrive6

NanoDrive6 dev repository.
https://e2j.net
Apache License 2.0
7 stars 3 forks source link

update to high pass filter circuit to restore FM bass with YM2612 #2

Open svirant opened 2 days ago

svirant commented 2 days ago

C23/C28 (left FM channel) and C24/C27 (right FM channel) in their current values of 1uf removes a lot of the bass from the FM signal when using the YM2612. Replacing all 4 of these with 22uf alters the high pass filter so that bass from the FM is kept in tact. Not saying this is mandatory of course, but it made a huge difference to my ears when changed. At least 6uf is recommended but 10uf or 22uf would work nicely since they are standard values easy to find.

You could also update C18 in the PSG circuit to something higher (10uf or 22uf) so that it's high pass filter value is closer to 1uf like the MegaDrive. I don't think you will really notice a difference with the PSG as the lowest note it can produce is around 122hz anyways.

Fujix1 commented 2 days ago

524d89183adf7c711d8870f7183da99b I added 22uFs, I don't see any difference for the lower frequency. https://e2j.net/temp/1uf.wav https://e2j.net/temp/23uf.wav

svirant commented 2 days ago

My apologies. Is this using a YM3438 or YM2612? My use case has been for the YM2612, and that being said the math checks out OK for the YM3438 with 1uf.

Default Circuit with 1uf: YM3438: 1uf in series with 1uf with 13k resistor = 24Hz high pass YM2612: 1uf in series with 1uf with 2.2k resistor = 144Hz high pass -> cuts bass

Modified Circuit with 22uf: YM3438: 22uf in series with 22uf with 13k resistor = 1Hz high pass YM2612: 22uf in series with 22uf with 2.2k resistor = 6.6Hz high pass

Here is my math:

math

Capacitors of at least 6uf would also give a 24Hz high pass for the YM2612. The only reason I chose 22uf is because in series that gets you close to the 10uf that is used on the Megadrive.

Fujix1 commented 2 days ago

I tested with YM2612 now. comparison between 1uf and 22uf. download

I'll update my schematics. Thank you for the info.

svirant commented 2 days ago

You're very welcome!! I enjoy your NanoDrive6 very much and happy to help!