Page 1 of 2
How do bypass the SNES audio low pass filter on the pcb?
Posted: Sat Nov 15, 2014 8:40 pm
by Fusion916
Hi
I really hate the washed out sound of the low pass filter on the SNES. Does anybody know where on the PCB the raw analog audio is prior to the LPF? This is on a SNES 1993 PCB without the separate APU.
Re: How do bypass the SNES audio low pass filter on the pcb?
Posted: Sat Nov 15, 2014 9:04 pm
by lidnariq
Is this the same sound in emulators as in hardware? If so, nothing can be done.
Re: How do bypass the SNES audio low pass filter on the pcb?
Posted: Sat Nov 15, 2014 9:08 pm
by Fusion916
lidnariq wrote:Is this the same sound in emulators as in hardware? If so, nothing can be done.
I don't think the LPF is in the digital domain, I believe it's done with passive analog components on the PCB.
At least it was with the 1st model SNES with the APU board. I'm not sure about the later model that I referred to in the OP (the board I am trying to mod).
Re: How do bypass the SNES audio low pass filter on the pcb?
Posted: Sat Nov 15, 2014 10:41 pm
by tepples
The DSP performs a "Gaussian interpolation" step immediately after BRR decoding. This step reduces aliasing but severely reduces the treble of the decoded waveform. To counter this, my BRR encoder preemphasizes the wave somewhat, boosting treble before encoding. But I imagine that not all BRR encoders do this.
Re: How do bypass the SNES audio low pass filter on the pcb?
Posted: Sat Nov 15, 2014 10:46 pm
by Fusion916
tepples wrote:The DSP performs a "Gaussian interpolation" step immediately after BRR decoding. This step reduces aliasing but severely reduces the treble of the decoded waveform. To counter this, my BRR encoder preemphasizes the wave somewhat, boosting treble before encoding. But I imagine that not all BRR encoders do this.
So the LPF is in the digital domain? No access to the raw information (analog or digital) without the interpolation?
Re: How do bypass the SNES audio low pass filter on the pcb?
Posted: Sat Nov 15, 2014 10:49 pm
by lidnariq
If you look at
jwdonal's redrawn schematics, there is some filtering around the output of the SHVC-APU.
But unless you already have witnessed that it sounds different between the console and an emulator, that filtering is not what you're hearing, and what tepples says is true.
Re: How do bypass the SNES audio low pass filter on the pcb?
Posted: Sat Nov 15, 2014 11:19 pm
by TmEE
The fliters present on the analog side have very low effect on the sound.
The muffledness comes from the low quality samples and as mentioned earlier the interpolation which you cannot do anything about. I would presonally like an SPC clone where one can disable that, most music starts to sound much better while only some suffer and for those one could re-enable it.
Re: How do bypass the SNES audio low pass filter on the pcb?
Posted: Sun Nov 16, 2014 1:08 am
by Fusion916
lidnariq wrote:If you look at
jwdonal's redrawn schematics, there is some filtering around the output of the SHVC-APU.
But unless you already have witnessed that it sounds different between the console and an emulator, that filtering is not what you're hearing, and what tepples says is true.
Wow... i'm going to have a field day with these schematics

Re: How do bypass the SNES audio low pass filter on the pcb?
Posted: Sun Nov 16, 2014 1:10 am
by Fusion916
TmEE wrote:The fliters present on the analog side have very low effect on the sound.
The muffledness comes from the low quality samples and as mentioned earlier the interpolation which you cannot do anything about. I would presonally like an SPC clone where one can disable that, most music starts to sound much better while only some suffer and for those one could re-enable it.
Lets disregard the low quality samples for a second.
Okay, the interpolation is within the sound APU itself. Got it. So in the 20 years that the SNES has been out, no one has tried to create a APU clone without interpolation? Since emulators have been around forever, I assume it is already known exactly what is in the hardware.
Re: How do bypass the SNES audio low pass filter on the pcb?
Posted: Sun Nov 16, 2014 1:14 am
by Fusion916
Also, I am guessing the Genesis has no such interpolation on it's Audio DSP? Genesis, while the sound effects are much less quality, they sound extremely crisp and "raw"
Re: How do bypass the SNES audio low pass filter on the pcb?
Posted: Sun Nov 16, 2014 1:22 am
by Sik
I really doubt it's even remotely trivial to recreate the APU in hardware.
And yeah, Mega Drive doesn't, the output from the two sound chips is about as raw as it gets. The low pass filtering there comes from the two signals getting mixed into one with analog components, and how much gets filtered is directly tied to the quality of those components (which is why the muffling depends on the board revision, and why it's possible to modify it into a practically crystal clear output).
Re: How do bypass the SNES audio low pass filter on the pcb?
Posted: Sun Nov 16, 2014 1:30 am
by lidnariq
The Genesis natively produces audio using FM synthesis and 1-bit waveforms. Both of these are ways that generate tremendous amounts of acoustic energy high in the audio spectrum—what you're interpreting as "crisp".
The SNES, on the other hand, has a wavetable synthesizer that uses a comparatively low sample rate and a compression method that tends to produce non-enharmonic overtones, encouraging the use of strong filtering.
Sik wrote:I really doubt it's even remotely trivial to recreate the APU in hardware.
Seems like an involved and tedious but straight-forward FPGA project.
Re: How do bypass the SNES audio low pass filter on the pcb?
Posted: Sun Nov 16, 2014 6:51 am
by TmEE
There are SPC equivalents made in FPGA, I think Kevtris made one, and there's also one by some Japanese guy.
As far as OPN family FM chips go, the waveform is not 1 bit, it is log-transformed 12bit quartersine, that is converted to linear 14bit output, then mixed with other channels to get 16bit final output.
Re: How do bypass the SNES audio low pass filter on the pcb?
Posted: Sun Nov 16, 2014 7:27 am
by tepples
I think the "1 bit" stuff was referring to the square and noise channels in the PSG inherited from the SMS.
Re: How do bypass the SNES audio low pass filter on the pcb?
Posted: Sun Nov 16, 2014 12:54 pm
by Sik
Yeah, pretty sure it was referring to the PSG (although even that is misleading, since even though they're technically 1-bit they still can have different volume levels). Also don't forget one of the FM channels being replaceable by a pure DAC output (although timing has to be done by the Z80, thereby why most of the time the quality is low since it heavily depends on the programmer).
TmEE wrote:There are SPC equivalents made in FPGA, I think Kevtris made one, and there's also one by some Japanese guy.
Oh right, forgot about the latter, although that guy did
the entire system in a FPGA.