SNES rebuilt audio dac circuit

Discussion of hardware and software development for Super NES and Super Famicom.

Moderator: Moderators

Forum rules
  • For making cartridges of your Super NES games, see Reproduction.
User avatar
Drakon
Posts: 183
Joined: Mon Aug 16, 2010 4:48 am
Contact:

SNES rebuilt audio dac circuit

Post by Drakon »

This's something I slapped together for fun. A friend of mine kept raving about how the snes spdif digital audio mod sounds way better than the analog from the console. Since I don't have any spdif or digital hardware I didn't bother with the mod for a long time. Then I heard an actual recording of the digital audio compared to the default analog and it is indeed superior sounding.

So I went out and got the parts and did the digital audio mod. I bought a cheap ebay spdif to analog converter to test that it works. Everything works fine, at first I had this hissing noise but today I sat down and fixed that. The spdif getting converted to analog using the ebay converter does indeed sound different:

http://www.youtube.com/watch?feature=pl ... mpUQsj6Ioc

I prefer the new audio circuit but it's really up to personal preference. The snes by default has a lot of muffle so this's a mod that can help a little bit with that.

Also tiido was nice enough to point out that the digital audio signals in the snes are i2s standard. I tried using a straight i2s to analog chip to skip going to spdif and back. It works I can hear the audio but the output is majorly distorted. Oh well.
SkinnyV
Posts: 427
Joined: Wed May 04, 2011 2:41 pm
Location: Montréal, Canada
Contact:

Re: SNES rebuilt audio dac circuit

Post by SkinnyV »

While I can understand some video mod to get better video quality without creating other issue (like those NES RGB mod erroneous palette), I have trouble understanding all those other crazy stereo/digital/whatever audio mod for retro console trying to fix non-issue IMO. The thing sound almost the same to me except that the unmounted SNES audio seem to have better bass. Then again if you think it sound better I'm glad it worked for you.
User avatar
koitsu
Posts: 4203
Joined: Sun Sep 19, 2004 9:28 pm
Location: A world gone mad

Re: SNES rebuilt audio dac circuit

Post by koitsu »

I'd appreciate high-quality (44kHz, 16-bit) lossless (i.e. WAV files compressed with zip or rar or whatever) audio recordings of actual games (try Actraiser!) rather than Youtube. The audio codec in Youtube videos is highly compressed, even at 720p and higher. Otherwise I can't tell any real difference, and that's certainly due to use of Youtube.
lidnariq
Posts: 10677
Joined: Sun Apr 13, 2008 11:12 am
Location: Seattle

Re: SNES rebuilt audio dac circuit

Post by lidnariq »

After I make the two recordings match stereo (one's reversed) and match phase (one's inverted) and normalize the volumes to match, I'm having the worst time actually distinguishing the two versions... I can't hear it. I can't even see it in a spectrogram.

If I do take the original recordings, match phase to the sample, and have the two recordings cancel each other out, there's a residual that seems to be mostly from ~3kHz to ~10kHz... It's awfully subtle though.
User avatar
thefox
Posts: 3139
Joined: Mon Jan 03, 2005 10:36 am
Location: Tampere, Finland
Contact:

Re: SNES rebuilt audio dac circuit

Post by thefox »

koitsu wrote:I'd appreciate high-quality (44kHz, 16-bit) lossless (i.e. WAV files compressed with zip or rar or whatever) audio recordings of actual games (try Actraiser!) rather than Youtube. The audio codec in Youtube videos is highly compressed, even at 720p and higher. Otherwise I can't tell any real difference, and that's certainly due to use of Youtube.
Yup 480p at Youtube doesn't cut it. Also I believe YouTube also applies some sort of compression (referring to dynamic range compression, the audio "effect", not data compression) to the signal.
Download STREEMERZ for NES from fauxgame.com! — Some other stuff I've done: fo.aspekt.fi
User avatar
Drakon
Posts: 183
Joined: Mon Aug 16, 2010 4:48 am
Contact:

Re: SNES rebuilt audio dac circuit

Post by Drakon »

I made another video, this time with the stereo sound matching in both parts haha:

http://www.youtube.com/watch?v=i9KKwunk ... e=youtu.be
tepples
Posts: 22345
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: SNES rebuilt audio dac circuit

Post by tepples »

Drakon wrote:Also tiido was nice enough to point out that the digital audio signals in the snes are i2s standard. I tried using a straight i2s to analog chip to skip going to spdif and back. It works I can hear the audio but the output is majorly distorted.
Are you expecting 44.1 kHz and getting the slightly above 32 kHz that the Super NES puts out?

One thing causing the characteristic muffle of Super NES audio is that decompressed samples are strongly low-pass filtered during Gaussian interpolation. In order not to sound muffled, a track needs to include some fairly strong pre-emphasis in its drum samples.
User avatar
Drakon
Posts: 183
Joined: Mon Aug 16, 2010 4:48 am
Contact:

Re: SNES rebuilt audio dac circuit

Post by Drakon »

tepples wrote:
Drakon wrote:Also tiido was nice enough to point out that the digital audio signals in the snes are i2s standard. I tried using a straight i2s to analog chip to skip going to spdif and back. It works I can hear the audio but the output is majorly distorted.
Are you expecting 44.1 kHz and getting the slightly above 32 kHz that the Super NES puts out?

One thing causing the characteristic muffle of Super NES audio is that decompressed samples are strongly low-pass filtered during Gaussian interpolation. In order not to sound muffled, a track needs to include some fairly strong pre-emphasis in its drum samples.
Again according to tiido interpolation is done in the snes chip so nothing can be done unless you want to recreate the chip somehow. As for the khz thing, beats me I just built this to see if it sound different which it does.
tepples
Posts: 22345
Joined: Sun Sep 19, 2004 11:12 pm
Location: NE Indiana, USA (NTSC)
Contact:

Re: SNES rebuilt audio dac circuit

Post by tepples »

Drakon wrote:Again according to tiido interpolation is done in the snes chip so nothing can be done unless you want to recreate the chip somehow.
I know. The pre-emphasis I speak of is an equalizer effect applied just before the BRR sample data is created. So one would need to replace the game's or SPC file's BRR samples with remastered samples.
User avatar
Hojo_Norem
Posts: 132
Joined: Mon Apr 16, 2007 10:07 am
Contact:

Re: SNES rebuilt audio dac circuit

Post by Hojo_Norem »

SkinnyV wrote:While I can understand some video mod to get better video quality without creating other issue (like those NES RGB mod erroneous palette), I have trouble understanding all those other crazy stereo/digital/whatever audio mod for retro console trying to fix non-issue IMO. The thing sound almost the same to me except that the unmounted SNES audio seem to have better bass. Then again if you think it sound better I'm glad it worked for you.
IMO, the main point in doing these mods is to get as clean a signal from the machine as possible without electrical noise from the other bits getting in the way. For machines like the SNES, Saturn, Dreamcast and others that work with standard digital interfaces inside it's trivial to break out a clean signal before the video gets a chance to sit on it. For machines that don't like the NES we can take the audio from as close to the source as possible and re-implement the mixing circuitry with proper shielding and isolation. For machines like the C64, we can go one step (well ok, two steps) further and provide the hardware with its own regulated power supplies and provide isolation on the address and data lines.

The bus noise inside the C64 is so bad sometimes that at least one demo has proven that the C64 can play music without the SID inserted: Vicious Sid 'No SID' Part
Insert witty sig. here...
Ziggy587
Posts: 138
Joined: Fri Oct 08, 2010 6:08 pm
Location: NY, USA

Re: SNES rebuilt audio dac circuit

Post by Ziggy587 »

Drakon wrote:Also tiido was nice enough to point out that the digital audio signals in the snes are i2s standard. I tried using a straight i2s to analog chip to skip going to spdif and back. It works I can hear the audio but the output is majorly distorted. Oh well.
I did the SNES S/PDIF mod just the other day and was thinking about what you did. Instead of using a crummy eBay DAC, why not just save that step and do it yourself internally? You got distortion, but I say don't give up, keep at it and try to find a DAC that'll work. I'm willing to bet most people don't have a digital audio option, and thus don't care about S/PDIF, but if you could "upgrade" the DAC internally and get a noticeable improvement then I bet a lot of people would be interested in that. Perhaps try a different D/A, or keep the S/PDIF mod with the CS8406 and then find an IC that'll convert one of its standards to analog.
SkinnyV wrote:While I can understand some video mod to get better video quality without creating other issue (like those NES RGB mod erroneous palette), I have trouble understanding all those other crazy stereo/digital/whatever audio mod for retro console trying to fix non-issue IMO. The thing sound almost the same to me except that the unmounted SNES audio seem to have better bass. Then again if you think it sound better I'm glad it worked for you.
I'm not replying to just you, SkinnyV, I'm just continuing on what you said.

What I can't understand is why so many people hunt for the best video quality and ignore audio quality completely. I'm speaking in general, not just in the video game realm. But how many people know some one that went out a bought this huge 1080p cutting edge million refresh rate TV, but only listen to it through the TV's speakers? Most TV speakers are just complete garbage. That kind of thing boggles me. It only makes sense to balance your better video quality with better audio quality.

Not that I'm defending the NES "stereo" mod. I really don't see the point of that. It's stereo in the sense that different sounds come out of the left speaker than the right, but that's not really what stereo is about. NES games aren't programmed for stereo, so you don't get actions on the left side of the screen coming out the left speaker and vise versa, panning from left to right and right to left, stereoscopic music, et cetera. What you get is something that was intended to be mono broken up into stereo, which would have a negative outcome IMO.

But as for the SNES S/PDIF mod, I'm very happy with it. I recently got a new AV receiver with digital audio inputs, so I was eager to get digital audio from my SNES. I set it up so I could switch between analog and digital to compare. I'll admit, at first the only thing I noticed was digital was a little louder. But after listening to a few different things, the difference is definitely there. And I don't have the greatest setup in the world. Not that there was a "problem" with the SNES audio, but digital is just better. Everything is a little more clear. Highs and lows, especially lows, now appear to be muffled on analog. While listening to music from games, there's more separation between parts (I guess you could just say it's more clear), and overall there's better stereo separation.

A YouTube video might not be the best way to evaluate the difference. Especially since this one converted the digital to analog before recording. Is the improvement HUGE? I think the average person wouldn't notice much difference. That's not to say I think I'm better than anyone, or I'm some huge audio nut. I've just noticed that people more easily notice improvements in video but not so much in audio. But it's definitely a decent improvement nonetheless. And at least with digital you don't have to worry about interference.

Anyway, that's just my thoughts on the matter. :D
SkinnyV
Posts: 427
Joined: Wed May 04, 2011 2:41 pm
Location: Montréal, Canada
Contact:

Re: SNES rebuilt audio dac circuit

Post by SkinnyV »

Maybe you guys should upload a FLAC comparison somewhere as I can't hear what you guy seem to talk about and I find the un-modded audio in the youtube video Drakon posted better sounding than his modded circuit. But then again I might have a bad hear for those thing.
Ziggy587
Posts: 138
Joined: Fri Oct 08, 2010 6:08 pm
Location: NY, USA

Re: SNES rebuilt audio dac circuit

Post by Ziggy587 »

SkinnyV wrote:Maybe you guys should upload a FLAC comparison somewhere as I can't hear what you guy seem to talk about and I find the un-modded audio in the youtube video Drakon posted better sounding than his modded circuit. But then again I might have a bad hear for those thing.
Well, like I said, Drakon has the digital audio being converted back into analog. Others have said YouTube isn't the best for audio comparisons because of compression. So those two things combined, it isn't the best thing for you to evaluate how the S/PDIF from the SNES can sound.

I really wouldn't mind making some recordings, but I do not have S/PDIF on my PC. Hmm, well I might have S/PDIF out, but not in.


Another thing I just remembered, regarding the benefits of digital audio, is the lack of a hum. Some people get a nasty hiss with analog audio, which is completely absent with digital.
User avatar
Drakon
Posts: 183
Joined: Mon Aug 16, 2010 4:48 am
Contact:

Re: SNES rebuilt audio dac circuit

Post by Drakon »

I did some playing with the system today. Some games I can hear the difference (it isn't huge), other games sound the same. What I really wish would be a way to remove the interpolation.

As for audio upgrades there's a lot of possibilities out there. Thanks to the help of ace on sega16 I learned how to tweak the low pass filter on the audio circuit of the model 1 sega genesis. I can now set the model 1 genesis audio circuit so high I hear distortion that's normally filtered out, and I can set it so low it sounds like the music is being played through a wall. I'm just waiting on caps to set it how I like, some games sound too muffled so it's a good thing to do. With the famicom the upgrade kits I use from japan work, however they only sound right on the av famicom which is a bit of a shame. Regarding the whole nes stereo separation thing it's really easy to mix the two channels together if you don't like the effect, I just set my amp to mono output on both speakers. I've been trying to improve my gaming audio experience since I was 13 and my dad gave me his old 1979 pioneer amp (which is still what I use today).
Ziggy587
Posts: 138
Joined: Fri Oct 08, 2010 6:08 pm
Location: NY, USA

Re: SNES rebuilt audio dac circuit

Post by Ziggy587 »

Drakon wrote:Regarding the whole nes stereo separation thing it's really easy to mix the two channels together if you don't like the effect, I just set my amp to mono output on both speakers.
Well if you're gonna mix it back into mono anyway, then what's the point of the separation in the first place? I'm not asking in a sarcastic way, I'm just wondering if there's something I missed. Is there some kind of quality improvement if the sound channels remain separate until they hit the amp? I would think, no, there isn't. And if there is, it would just be a very, very small improvement in clarity. Or am I wrong?
Post Reply