Genesis Plus GX, Where is the Audio Lowpass Filter?


#1

The audio lowpass filter is an essential part of how genesis games sounded back then.
Genesis Plus GX has an audio lowpass filter option that mimicks the Rev.1 genesis console sound but for some reason it is completely omitted from libretro core.

Is it possible to include this feature in the next core compilation?
Is there a reason for omitting this oprion?


#2

I’m not sure what it is exactly but you probably can do it with sound filters.
Settings->Audio->Audio DSP Plugin


#3

Eke handles the libretro-ization upstream, so if it’s not in there, it’s something he’s left out for whatever reason. If you can find where it’s enabled/disabled, we could see about adding it in, though.


#4

I didn’t even know the Model 1 had different sound. This is fascinating. I always had a Model 2 or a Nomad. Now I want this too lol


#5

Here you can hear studio quality recordings of the model 1 genesis.
Genesis emulators should have this lowpass filter ON by default, it is unclear why the libretro core left this option out.
Yeah I use the DSP Filter in retroarch but it affects all cores, including the ones that don’t need it.

Eke, you there?


#6

Wow. I’m exited with this Audiophile Project. Thanks James-F

Regarding DSP filters. I found that HighShelfDampen works pretty well on processing Genesis audio. It even fits to NES to my taste. As it lowers those high pitch sound that can be very annoying during gameplay.


#7

HighShelfDampen, yep this is the one I use too with slight tweak in the frequency and gain in the configuration file of it to mach with the model 1 recordings.
But once again, it applies to all cores that don’t need it like n64 and psx.
An option for audio dsp filter preset per core would be a good solution too.


#8

Can you share your settings for HighShelfDampen please?


#9

Just add the line in an override config manually, that should work.


#10

Added line where? what should work?


#11

In config/Genesis Plus GX/Genesis Plus GX.cfg
audio_dsp_plugin = “name_of_plugin” (the line you have in retroarch.cfg when you choose a dsp)


#12

Ah yes, it worked perfectly! I am still new to retroarch but I’m learning fast.
First I had to create it by selecting “Save Core Overrides” and then copy this single line from the master retroarch.cfg.
Big thank you Tatsuya79.
Retroarch is just a blessing for retro console enthusiasts and ‘in depth’ tweakers.

@Great_Dragon
I will try to make it even closer and report with the settings.
EDIT: Stock HighShelfDampen is very close indeed, no need to change anything.

EDIT2:
All other consoles should not be filtered so select “EQ.dsp” as the default in retroarch.cfg for flat frequency response.
If you keep this empty (" ") the last dsp filter will override the empty global setting.
audio_dsp_plugin = “:\filters\audio\EQ.dsp”


#13

I too would be interested in the specific settings being used by James-F.


#14

Low-pass issue mentioned here.

line 500: config.filter = 0; /* no filter */ ==> config.filter = 1;

Can’t test this but “filter” used here:


#15

hey, good looks :smiley: That should be easy enough to add in. I’ll try messing around with it soon unless someone beats me to it.


#16

Also here:

config.filter= 1;
config.lp_range

Thank you very much for the decision to implement it.

EDIT: Hopefully the lowpass filter in genesis plus gx sounds good, because the dsp high shelving filter might be more accurate for the task than a simple 6db/oct lowpass.


#17

I’ve took some measurements for visual comparison and as you can see HighShelfDampen DSP filter does excellent job to match the Model1 genesis.
I tweak it slightly to 7000Hz from the stock 8000Hz and keep the stock -12db.
Sounds and measures very close to the actual hardware.

If the devs decide to implement the built-in lowpass filter in Genesis Plus GX hopefully it’ll be as accurate as this one, but some kind of low-pass/high-shelf filtering is indeed important for that beloved Genesis sound.
As far as I can hear from internet samples, other consoles do not have this filtering including NES, SNES, N64 and PSX.

This post is obsolete, since the refference Model 1 was from Youtube.
See next post for more accurate measurement from FLAC sources.


#19

I have tested and tweaked again, this time I used the FLAC version of Sonic 1 as reference which was recorded from JAP Model 1 VA1 from 16bit-Audiophile website.
The older FLAC files are from PAL Model 1 VA4 which measures exactly the same JAP model.

Both can be found here:

Here is the Model 1 and Retroarch with the new HighShelfDampen.dsp settings.
Orange line is the Japanese hardware Model 1 VA1, the Blue line is Retroarch with the new filter settings.

Here is the new tweaked HighShelfDampen.dsp settings:

filters = 1
filter0 = iir

iir_gain = -4.0
iir_type = HSH
iir_frequency = 2800.0

Here is Retroarch (Blue line) unfiltered with JAP Model1 VA1:
Almost 10db difference around 10kHz area which is very much audible.

Obsolete Post
Latest release of Genesis Plus GX has built in Lowpass Filter that is closely matched to the Model1 Genesis.


#20

this is acting more as low pass than high shelf, it shouldn’t dip like that, especially at only -4db


#21

You mean the steep brickwall filter at 15kHz?
Genesis Plus GX dos that for some reason.

EDIT:
Yes, the slope itself is 6db/Oct Lowpass filter, but the LPF filter in iir.dll is fixed to 12db/Oct unless I am missing something that can change that.