VOGONS


Yamaha YMF71x SB Pro Mixer Bug Issue Fix

Topic actions

Reply 60 of 215, by James-F

User metadata
Rank Oldbie
Rank
Oldbie

It WORKS!

The lowpass filter DOES exist and it is enabled by default but the SMD cap is so small (250pF) that it has no effect on sound.
I soldered a 100nF cap for the quick test and it was too much and the sound was completely muffled from the right channel, but it proved my theory.
The SBPro mixer can disable it just like on a normal SBPro card, this works too.

Now the fun part begins, what Cap value will sound exactly the same as the SBPro?
Anyone familiar with the SBPro design especially the components of the lowpass filter part?
Can anyone tech/electronics savvy help me solve this mystery and make the YMF71x card the best card around for dos gaming.

I'll start by soldering some aligators or sockets so I can quickly switch the caps.

YMF Cap.jpg
Filename
YMF Cap.jpg
File size
2.12 MiB
Views
5610 views
File license
Fair use/fair dealing exception


my important / useful posts are here

Reply 61 of 215, by James-F

User metadata
Rank Oldbie
Rank
Oldbie

Friends I need a small recording of Doom with a CT1600 card.
Doom setup -> No Music.
Doom, idkfa, weapon 4, shoot straight ahead, just hold CTRL for a few seconds.

EDIT:
2.2nF, 4.7nF and 10nF sound pretty good.
Live recording of me connecting a 4.7nF cap on the fly to the sound card.
I can do accurate analysis of the frequency response to choose the perfect Cap value, but I need a CT1600 recording.

Attachments

  • Filename
    Doom CAP.mp3
    File size
    568.37 KiB
    Downloads
    209 downloads
    File comment
    4.7nF
    File license
    Fair use/fair dealing exception


my important / useful posts are here

Reply 62 of 215, by carlostex

User metadata
Rank l33t
Rank
l33t

From what i can hear 4.7nF sounds too filtered. I guess that maybe its because i've been using YMF cards for the past 4 years and i've come to appreciate how they sound compared to a CT1600.

So if i do this to my cards i'll probably go with a 1nF value. That should be enough. But i'm interested in which value will give a closer result to a CT1600.

Great job on this!!

Reply 63 of 215, by firage

User metadata
Rank Oldbie
Rank
Oldbie

This sounds promising.

Here's the recording from my SB Pro. Switching DNFI on and off I got no difference that I can detect..

Attachments

  • Filename
    ct1600_doom.zip
    File size
    1.28 MiB
    Downloads
    223 downloads
    File comment
    CT1600 Doom weapon 4 filtered and unfiltered
    File license
    Fair use/fair dealing exception

My big-red-switch 486

Reply 64 of 215, by James-F

User metadata
Rank Oldbie
Rank
Oldbie

YMF71x Lowpass Filter FIX

Replace C11 and C19 (left and right) with 6.8nF capacitors, preferably 0805 (2012) 6.8nF SMD Capacitors.
This will make the YMF71x sound similar to the real SBPro which has a functional Lowpass filter, and now the YMF71x has too.
After many capacitors and frequency analysis I found that 6.8nF is the most accurate value and sounded closest to the CT1600 example firage provided, even closer than DOSBox.

So now along with the SB = 1 mixer fix and the modification it makes my Yamaha YMF719 the best DOS card I own.

Sound samples of various filters: HERE

YMF 4.7nF.jpg
Filename
YMF 4.7nF.jpg
File size
616.7 KiB
Views
5571 views
File license
Fair use/fair dealing exception
LPF Comparison.png
Filename
LPF Comparison.png
File size
89.24 KiB
Views
5441 views
File license
Fair use/fair dealing exception

Note: the PCB image shows yellow 4.7nF caps which later were changed to 6.8nF.

Last edited by James-F on 2017-05-27, 11:45. Edited 8 times in total.


my important / useful posts are here

Reply 65 of 215, by badmojo

User metadata
Rank l33t
Rank
l33t
James-F wrote:

It WORKS!

Amazing! The lack of filtering has always been one of the things that bothered me about these cards so colour me interested in a mod to fix that 😎

Life? Don't talk to me about life.

Reply 67 of 215, by James-F

User metadata
Rank Oldbie
Rank
Oldbie
badmojo wrote:

Amazing! The lack of filtering has always been one of the things that bothered me about these cards so colour me interested in a mod to fix that 😎

The SB=1 fix and the filter cap mod makes the YMF a though card to beat.
No Single-Cycle DMA bugs (clicking and ringing), no MPU-401 bugs, no mixer bugs (now), no noise, and now a proper lowpass filter.
The only disadvantage is no ADPCM 2/3bit to 8bit support.

gdjacobs wrote:

Does the filter point shift when piping 44.1khz PCM via the WSS interface?

No, it affects only the SBPro emulation on the YMF71x.
The caps go to the SBFLTR pins on the chip, and have nothing to do with WSS.

Attachments

  • Filename
    GODS YMF719 Unfiltered.mp3
    File size
    3.56 MiB
    Downloads
    301 downloads
    File comment
    Unmoddified/Stock, or DNFI:OFF.
    File license
    Fair use/fair dealing exception
  • Filename
    GODS YMF719 Filtered.mp3
    File size
    2.47 MiB
    Downloads
    290 downloads
    File comment
    Modded with 4.7nF Cap to sound like the SBPro
    File license
    Fair use/fair dealing exception
Last edited by James-F on 2016-09-20, 12:18. Edited 1 time in total.


my important / useful posts are here

Reply 68 of 215, by carlostex

User metadata
Rank l33t
Rank
l33t

Great job!

But you replaced 2 caps instead of just one?

I have to check my YMF-718 cards, i think i only own 1 YMF-719, but i guess it should be easy to find the caps on the 718's too. I will probably use SMD caps, just need to make sure i get the right size.

Once again, fab job!

Reply 69 of 215, by James-F

User metadata
Rank Oldbie
Rank
Oldbie
carlostex wrote:

Great job!
But you replaced 2 caps instead of just one?

Thanks!
One for Left, one for Right.
The Audician 32 is IDENTICAL in every way, even the component names are the same.


my important / useful posts are here

Reply 71 of 215, by gdjacobs

User metadata
Rank l33t++
Rank
l33t++
James-F wrote:
gdjacobs wrote:

Does the filter point shift when piping 44.1khz PCM via the WSS interface?

No, it affects only the SBPro emulation on the YMF71x.
The caps go to the SBFLTR pins on the chip, and have nothing to do with WSS.

Interesting. What about SB Pro with 11khz samples? Does it filter at 5.5khz?

All hail the Great Capacitor Brand Finder

Reply 72 of 215, by James-F

User metadata
Rank Oldbie
Rank
Oldbie
gdjacobs wrote:

Interesting. What about SB Pro with 11khz samples? Does it filter at 5.5khz?

No, it does not behave like the SB16 with a brickwall filter.
It behaves like the SBPro with a more mellow filter, you have a screenshot of a frequency analyzer above with 11khz samples form doom.


my important / useful posts are here

Reply 73 of 215, by James-F

User metadata
Rank Oldbie
Rank
Oldbie
carlostex wrote:

I will probably use SMD caps,

PhilsComputerLab wrote:

Very nice! I think SMD caps are the way to go and would look very neat also.

Beware of SMD caps from ebay, they can be empty or the wrong value.
Make sure you have something to measure them.


my important / useful posts are here

Reply 74 of 215, by clueless1

User metadata
Rank l33t
Rank
l33t

Are we talking about those two mica ceramic capacitors (yellow)? I thought those were considered through hole caps, not SMD caps. You've soldered them to the surface since there are no vias there, so yes, they are mounted to the surface. But they are intended to be through hole caps, right?

The more I learn, the more I realize how much I don't know.
OPL3 FM vs. Roland MT-32 vs. General MIDI DOS Game Comparison
Let's benchmark our systems with cache disabled
DOS PCI Graphics Card Benchmarks

Reply 75 of 215, by James-F

User metadata
Rank Oldbie
Rank
Oldbie
clueless1 wrote:

they are mounted to the surface. But they are intended to be through hole caps, right?

Yes.
I used flux and made sure I don't cold solder them, should hold fine.


my important / useful posts are here

Reply 76 of 215, by clueless1

User metadata
Rank l33t
Rank
l33t
James-F wrote:
clueless1 wrote:

they are mounted to the surface. But they are intended to be through hole caps, right?

Yes.
I used flux and made sure I don't cold solder them, should hold fine.

I trust your soldering, I was just concerned about the terminology. 😀

The more I learn, the more I realize how much I don't know.
OPL3 FM vs. Roland MT-32 vs. General MIDI DOS Game Comparison
Let's benchmark our systems with cache disabled
DOS PCI Graphics Card Benchmarks

Reply 78 of 215, by clueless1

User metadata
Rank l33t
Rank
l33t
firage wrote:

That GODS piece is brutal. 🤣 First time hearing it. Good job.

Yeah, James is a rock star with this thread. And the GODS theme sounds amazing in-game. Not that crazy about the game (or platformers in general) but I fire it up just to listen to the song.

The more I learn, the more I realize how much I don't know.
OPL3 FM vs. Roland MT-32 vs. General MIDI DOS Game Comparison
Let's benchmark our systems with cache disabled
DOS PCI Graphics Card Benchmarks

Reply 79 of 215, by PhilsComputerLab

User metadata
Rank l33t++
Rank
l33t++

Yea sounds great!

GODS is a slick game, but very hard. I think I only ever got to level 3 😀

Questions:

Does the SB 1.5 and 2 have a similar output filter?

Can someone link SMD resistors that are suitable for buying? I think I'm going to mod at least one of my cards.

EDIT: OT, but when I first heard the music, and I'm not a native speaker, I thought he was singing "The Two, The Waterfall". 😊

YouTube, Facebook, Website