Awful sound?

Just got a MiSTer and need some help? Join the forum and post your questions here!
User avatar
Bren McGuire
Posts: 96
Joined: Tue Mar 01, 2022 7:49 am
Has thanked: 84 times
Been thanked: 5 times

Awful sound?

Unread post by Bren McGuire »

I've just got my DE10 board and I have nothing else. In order to try out the MiSTer I installed and updated Mr fusion, transferred some Mega Drive roms (because this core runs without any RAM expansion), launched the core and... my god the sound is awful, it's bad not only compared to the original console, but to emulation too!

The audio sort of trembles, as it was played trough a cassette player with huge "wow". Why it's like that? Is it normal or there's something wrong in my setup? I tried fiddling with the audio settings but no change was significant.
softtest9
Posts: 158
Joined: Thu May 28, 2020 7:13 pm
Has thanked: 3 times
Been thanked: 21 times

Re: Awful sound?

Unread post by softtest9 »

The sound should be similar to what you get from software emulation. Did you try any other cores?
User avatar
darksakul
Posts: 352
Joined: Mon May 25, 2020 4:34 pm
Has thanked: 397 times
Been thanked: 73 times

Re: Awful sound?

Unread post by darksakul »

Does the games sound and play too slow?

Make sure you aren't running Genesis games in PAL mode.
The core has a US, JP and PAL regions, I would set everything to US by default, unless you got a soft spot for the unoptimized PAL region games of the 80s and 90s.

You will want the SD ram module when you have a chance. Using the DDR3 for the core will produce inaccuracies as it's a timing issue with Modern Ram.
Modern ram despite running faster as worst response timing, and these cores are dependent on that response time.
It is my great regret that we live in an age that is proud of machines that think and suspicious of people who try to.
User avatar
Bren McGuire
Posts: 96
Joined: Tue Mar 01, 2022 7:49 am
Has thanked: 84 times
Been thanked: 5 times

Re: Awful sound?

Unread post by Bren McGuire »

softtest9 wrote: Thu Mar 03, 2022 5:10 pm The sound should be similar to what you get from software emulation. Did you try any other cores?
Nope, I'm not sure which cores also run without the RAM expansion.
User avatar
Bren McGuire
Posts: 96
Joined: Tue Mar 01, 2022 7:49 am
Has thanked: 84 times
Been thanked: 5 times

Re: Awful sound?

Unread post by Bren McGuire »

darksakul wrote: Thu Mar 03, 2022 5:39 pm Does the games sound and play too slow?

Make sure you aren't running Genesis games in PAL mode.
The core has a US, JP and PAL regions, I would set everything to US by default, unless you got a soft spot for the unoptimized PAL region games of the 80s and 90s.
I've set it to US and the playing speed is correct.
darksakul wrote: Thu Mar 03, 2022 5:39 pm You will want the SD ram module when you have a chance. Using the DDR3 for the core will produce inaccuracies as it's a timing issue with Modern Ram.
Modern ram despite running faster as worst response timing, and these cores are dependent on that response time.
That's probably it (I hope), bad timing would explain the "tremble" effect.
bbond007
Top Contributor
Posts: 521
Joined: Tue May 26, 2020 5:06 am
Has thanked: 86 times
Been thanked: 204 times

Re: Awful sound?

Unread post by bbond007 »

Bren McGuire wrote: Fri Mar 04, 2022 12:32 am Nope, I'm not sure which cores also run without the RAM expansion.
Cores not on this list (AO486 and many arcade for example) -->

https://github.com/MiSTer-devel/Main_Mi ... -use-SDRAM
User avatar
darksakul
Posts: 352
Joined: Mon May 25, 2020 4:34 pm
Has thanked: 397 times
Been thanked: 73 times

Re: Awful sound?

Unread post by darksakul »

Bren McGuire wrote: Fri Mar 04, 2022 12:37 am I've set it to US and the playing speed is correct.
I brought that one up as it's the most common, even the experts made that mistake
Bren McGuire wrote: Fri Mar 04, 2022 12:37 am That's probably it (I hope), bad timing would explain the "tremble" effect.
I haven't ran my MiSTer without the ram for, ... Well I want to say prior to the pandemic.
It wouldn't hurt if someone tried to recreate the conditions to get the same results.
It is my great regret that we live in an age that is proud of machines that think and suspicious of people who try to.
pacoarcade
Posts: 72
Joined: Mon May 25, 2020 8:41 am
Has thanked: 75 times
Been thanked: 13 times
Contact:

Re: Awful sound?

Unread post by pacoarcade »

Dunno if this is the cause, but to get proper sound you need a good quality DAC and connect it via TOSLink or Mini-Toslink. Both FX-Audio DAC-X6 and Topping E30 sound good to my ears.

Check this out: https://nitter.net/topapate/status/1356278639516532743 . I tried a similar one but it doesn't sound very good.
User avatar
Chris23235
Top Contributor
Posts: 866
Joined: Sun May 24, 2020 8:45 pm
Has thanked: 114 times
Been thanked: 179 times

Re: Awful sound?

Unread post by Chris23235 »

pacoarcade wrote: Fri Mar 04, 2022 4:49 pm Dunno if this is the cause, but to get proper sound you need a good quality DAC and connect it via TOSLink or Mini-Toslink. Both FX-Audio DAC-X6 and Topping E30 sound good to my ears.

Check this out: https://nitter.net/topapate/status/1356278639516532743 . I tried a similar one but it doesn't sound very good.
But remember this only applies if you use the analogue audio output. As the user doesn't have a SD-RAM module I guess sound is processed via HDMI in this case.
jca
Top Contributor
Posts: 1911
Joined: Wed May 27, 2020 1:59 pm
Has thanked: 145 times
Been thanked: 454 times

Re: Awful sound?

Unread post by jca »

Chris23235 wrote: Sat Mar 05, 2022 8:55 am But remember this only applies if you use the analogue audio output. As the user doesn't have a SD-RAM module I guess sound is processed via HDMI in this case.
I/O board, not SDRAM module.
User avatar
Chris23235
Top Contributor
Posts: 866
Joined: Sun May 24, 2020 8:45 pm
Has thanked: 114 times
Been thanked: 179 times

Re: Awful sound?

Unread post by Chris23235 »

jca wrote: Sat Mar 05, 2022 11:26 am
Chris23235 wrote: Sat Mar 05, 2022 8:55 am But remember this only applies if you use the analogue audio output. As the user doesn't have a SD-RAM module I guess sound is processed via HDMI in this case.
I/O board, not SDRAM module.
What I meant was if the user does not have a SD Ram module, I doubt he uses an I/O board. I would it is a bare DE10 nano.
User avatar
Bren McGuire
Posts: 96
Joined: Tue Mar 01, 2022 7:49 am
Has thanked: 84 times
Been thanked: 5 times

Re: Awful sound?

Unread post by Bren McGuire »

Chris23235 wrote: Sat Mar 05, 2022 8:55 am
pacoarcade wrote: Fri Mar 04, 2022 4:49 pm Dunno if this is the cause, but to get proper sound you need a good quality DAC and connect it via TOSLink or Mini-Toslink. Both FX-Audio DAC-X6 and Topping E30 sound good to my ears.

Check this out: https://nitter.net/topapate/status/1356278639516532743 . I tried a similar one but it doesn't sound very good.
But remember this only applies if you use the analogue audio output. As the user doesn't have a SD-RAM module I guess sound is processed via HDMI in this case.
Yes, I'm using HDMI and listening to the audio trough the monitor's own speakers.
User avatar
Bren McGuire
Posts: 96
Joined: Tue Mar 01, 2022 7:49 am
Has thanked: 84 times
Been thanked: 5 times

Re: Awful sound?

Unread post by Bren McGuire »

Chris23235 wrote: Sat Mar 05, 2022 8:55 am
pacoarcade wrote: Fri Mar 04, 2022 4:49 pm Dunno if this is the cause, but to get proper sound you need a good quality DAC and connect it via TOSLink or Mini-Toslink. Both FX-Audio DAC-X6 and Topping E30 sound good to my ears.

Check this out: https://nitter.net/topapate/status/1356278639516532743 . I tried a similar one but it doesn't sound very good.
But remember this only applies if you use the analogue audio output. As the user doesn't have a SD-RAM module I guess sound is processed via HDMI in this case.
Thanks, I'm planning to use Direct Video for connecting to a CRT, in this case I don't think I need a DAC but an HDMI audio extractor, correct me if I'm wrong.
User avatar
aberu
Core Developer
Posts: 1155
Joined: Tue Jun 09, 2020 8:34 pm
Location: Longmont, CO
Has thanked: 244 times
Been thanked: 402 times
Contact:

Re: Awful sound?

Unread post by aberu »

1. Turn on hdmi_audio_96k in the Ini, it helps with the aliasing for many systems that don't have sampling rates near 48khz.

2. Genesis has an auto region header detection, however it also has a region priority system, make sure you put your desired region first (US>EU>JP for instance if you want US first, then EU, then JP in priority) for multi region games. Use the header detection method personally, it's extremely consistent and just works.

3. What games are you talking about that didn't sound good? DDR3 is still pretty dang good, it's almost unnoticeable what the differences are when compared to SDRAM. Maybe you are just more sensitive than I am, but I have confirmed the rubber-banding effect is what happens with DDR3. You should get the 128MB SDRAM module because the MiSTer isn't really a complete system without it.
birdybro~
User avatar
Bren McGuire
Posts: 96
Joined: Tue Mar 01, 2022 7:49 am
Has thanked: 84 times
Been thanked: 5 times

Re: Awful sound?

Unread post by Bren McGuire »

Chris23235 wrote: Sat Mar 05, 2022 2:59 pm
jca wrote: Sat Mar 05, 2022 11:26 am
Chris23235 wrote: Sat Mar 05, 2022 8:55 am But remember this only applies if you use the analogue audio output. As the user doesn't have a SD-RAM module I guess sound is processed via HDMI in this case.
I/O board, not SDRAM module.
What I meant was if the user does not have a SD Ram module, I doubt he uses an I/O board. I would it is a bare DE10 nano.
Correct, as of now I've just the nano and a USB HUB.
User avatar
Bren McGuire
Posts: 96
Joined: Tue Mar 01, 2022 7:49 am
Has thanked: 84 times
Been thanked: 5 times

Re: Awful sound?

Unread post by Bren McGuire »

aberu wrote: Tue Mar 08, 2022 6:01 am 1. Turn on hdmi_audio_96k in the Ini, it helps with the aliasing for many systems that don't have sampling rates near 48khz.
Can I do this trough SMB? Also, to avoid confusion can you tell me the exact file name?
aberu wrote: Tue Mar 08, 2022 6:01 am 2. Genesis has an auto region header detection, however it also has a region priority system, make sure you put your desired region first (US>EU>JP for instance if you want US first, then EU, then JP in priority) for multi region games. Use the header detection method personally, it's extremely consistent and just works.
That's how it's set: header detection and US>EU>JP
aberu wrote: Tue Mar 08, 2022 6:01 am 3. What games are you talking about that didn't sound good? DDR3 is still pretty dang good, it's almost unnoticeable what the differences are when compared to SDRAM. Maybe you are just more sensitive than I am, but I have confirmed the rubber-banding effect is what happens with DDR3. You should get the 128MB SDRAM module because the MiSTer isn't really a complete system without it.
All of them, and it's not a matter of sensitivity, I've recorded a sample and I'll try to link it here. Once you hear it it'll be pretty apparent that there's something wrong, I'm not sure if it's rubber-banding or something else. I'll get the RAM eventually.
Attachments
2022_03_08_09_52_03.mp3
MiSTer Genesis core audio sample without RAM expansion.
(780.81 KiB) Downloaded 119 times
User avatar
aberu
Core Developer
Posts: 1155
Joined: Tue Jun 09, 2020 8:34 pm
Location: Longmont, CO
Has thanked: 244 times
Been thanked: 402 times
Contact:

Re: Awful sound?

Unread post by aberu »

Yes you can do it over smb, just edit MiSTer.ini with notepad.

What game is that sample from? I want to test it. Thanks!
birdybro~
callanabrown
Posts: 85
Joined: Thu Jul 30, 2020 1:05 pm
Has thanked: 14 times
Been thanked: 21 times

Re: Awful sound?

Unread post by callanabrown »

Just listened to your sample, that is beyond broken, something is very wrong there. I use a Genesis core without SDRAM and it sounds nothing like that.
User avatar
aberu
Core Developer
Posts: 1155
Joined: Tue Jun 09, 2020 8:34 pm
Location: Longmont, CO
Has thanked: 244 times
Been thanked: 402 times
Contact:

Re: Awful sound?

Unread post by aberu »

Same, I just tested Contra Hard Corps and didn't hear anything like that, and that soundtrack is pretty intense for an emulator.
birdybro~
User avatar
Bren McGuire
Posts: 96
Joined: Tue Mar 01, 2022 7:49 am
Has thanked: 84 times
Been thanked: 5 times

Re: Awful sound?

Unread post by Bren McGuire »

aberu wrote: Tue Mar 08, 2022 1:23 pm Yes you can do it over smb, just edit MiSTer.ini with notepad.

What game is that sample from? I want to test it. Thanks!
It's Batman the videogame, song 13 of the sound test.
User avatar
Bren McGuire
Posts: 96
Joined: Tue Mar 01, 2022 7:49 am
Has thanked: 84 times
Been thanked: 5 times

Re: Awful sound?

Unread post by Bren McGuire »

callanabrown wrote: Tue Mar 08, 2022 2:19 pm Just listened to your sample, that is beyond broken, something is very wrong there. I use a Genesis core without SDRAM and it sounds nothing like that.
aberu wrote: Tue Mar 08, 2022 3:30 pm Same, I just tested Contra Hard Corps and didn't hear anything like that, and that soundtrack is pretty intense for an emulator.
I knew that couldn't be right. While I was recording the sample I found out something strange: fiddling with the monitor menu to adjust the volume or even just navigating the menu affects the audio output, it sounds even more broken while you do that.

But this happens only with the MiSTer: in order to check that I connected my WiiU in the same exact spot on the HDMI splitter, with the same HDMI cable, and I can say that the WiiU audio output is not affected in the least by navigating the monitor menus.
User avatar
aberu
Core Developer
Posts: 1155
Joined: Tue Jun 09, 2020 8:34 pm
Location: Longmont, CO
Has thanked: 244 times
Been thanked: 402 times
Contact:

Re: Awful sound?

Unread post by aberu »

Sounds potentially like HDMI CEC might be affecting your monitor. You might try a cec-less cable:

https://misteraddons.com/products/video ... cart-ypbpr

Or a CEC-stripping adapter:

https://www.amazon.com/BlueRigger-HDMI- ... B07BFL8TM8

These remove pin 13 from the equation.
birdybro~
User avatar
Bren McGuire
Posts: 96
Joined: Tue Mar 01, 2022 7:49 am
Has thanked: 84 times
Been thanked: 5 times

Re: Awful sound?

Unread post by Bren McGuire »

aberu wrote: Tue Mar 08, 2022 5:32 pm Sounds potentially like HDMI CEC might be affecting your monitor. You might try a cec-less cable:

https://misteraddons.com/products/video ... cart-ypbpr

Or a CEC-stripping adapter:

https://www.amazon.com/BlueRigger-HDMI- ... B07BFL8TM8

These remove pin 13 from the equation.
I think you're right, I tried the MiSTer on my living room TV and the audio is fine.
The splitter could also be involved because now I remember that my SNES mini would not boot when connected to this splitter.

I re-recorded the sample with the MiSTer attached to my TV.

As a bonus, since it was there, I also recorded the same sample with my PAL Mega Drive 1 (HD) 60Hz modded (but I didn't change the crystal so the speed is not 100% accurate).

I'll attach the files here.

P.S. Keep in mind that they're coming from two different TVs, the Mega Drive is connected to an old little CRT.
Attachments
MiSTer.mp3
Batman BGM13 MiSTer (TV)
(1.83 MiB) Downloaded 109 times
MD.mp3
Batman BGM13 Mega Drive1
(1.88 MiB) Downloaded 105 times
User avatar
aberu
Core Developer
Posts: 1155
Joined: Tue Jun 09, 2020 8:34 pm
Location: Longmont, CO
Has thanked: 244 times
Been thanked: 402 times
Contact:

Re: Awful sound?

Unread post by aberu »

What splitter is that specifically? Might help for other users to know.
birdybro~
User avatar
Bren McGuire
Posts: 96
Joined: Tue Mar 01, 2022 7:49 am
Has thanked: 84 times
Been thanked: 5 times

Re: Awful sound?

Unread post by Bren McGuire »

aberu wrote: Wed Mar 09, 2022 3:44 pm What splitter is that specifically? Might help for other users to know.
It's a generic one, it doesn't have a name or brand, here it is: https://www.amazon.it/gp/product/B01MSJS8HQ/
dshadoff
Core Developer
Posts: 534
Joined: Sun May 24, 2020 9:30 pm
Has thanked: 19 times
Been thanked: 143 times

Re: Awful sound?

Unread post by dshadoff »

What is vsync_adjust set to, in the init file ?
Some TVs are sensitive to sync frequency, and even though the video appears fine, the sound can be messed up.
User avatar
Bren McGuire
Posts: 96
Joined: Tue Mar 01, 2022 7:49 am
Has thanked: 84 times
Been thanked: 5 times

Re: Awful sound?

Unread post by Bren McGuire »

dshadoff wrote: Thu Mar 10, 2022 4:02 am What is vsync_adjust set to, in the init file ?
Some TVs are sensitive to sync frequency, and even though the video appears fine, the sound can be messed up.
I don't have any init, the only text file I can see on the root of the SD card is "MiSTer_example.ini".
However, on the MiSTer's main menu (under misc. options>Information) I've got this values:

529x240 15.68KHz 59.8MHz
1280x720 74.25Mhz 60Mhz

EDIT: in the "MiSTer_example.ini" vsync_adjust is set like this: "vsync_adjust=0", does this file count or do I have to make a MiSTer.ini?
akeley
Top Contributor
Posts: 1315
Joined: Mon May 25, 2020 7:54 pm
Has thanked: 426 times
Been thanked: 415 times

Re: Awful sound?

Unread post by akeley »

Ignore the "MiSTer_example.ini". You already have "mister.ini" in the root of your SD card (media/fat/), that's the file @dshadoff meant. In there are all the settings governing MiSTer. Try changing the value of "vsync_adjust=" to 1 or 2 from 0. "0" is used for lowest latency, but some displays have problems with it and setting "1" or "2" might help.

You can read about it and other the mister.ini settings here: https://github.com/MiSTer-devel/Main_Mi ... tion-Files
FPGA64
Top Contributor
Posts: 771
Joined: Mon Mar 01, 2021 3:10 pm
Has thanked: 45 times
Been thanked: 330 times

Re: Awful sound?

Unread post by FPGA64 »

akeley wrote: Sat Mar 12, 2022 11:40 am Ignore the "MiSTer_example.ini". You already have "mister.ini" in the root of your SD card (media/fat/), that's the file @dshadoff meant. In there are all the settings governing MiSTer. Try changing the value of "vsync_adjust=" to 1 or 2 from 0. "0" is used for lowest latency, but some displays have problems with it and setting "1" or "2" might help.

You can read about it and other the mister.ini settings here: https://github.com/MiSTer-devel/Main_Mi ... tion-Files
You have it exactly reversed 2 is the lowest latency

vsync_adjust

Sets the vsync buffer mode for HDMI output. This setting does not affect direct video or analog output from the IO board.

Some HDMI displays can accept somewhat non-standard signals, allowing for lower display latency with MiSTer. It is recommended that you start with a setting of 0, and then try modes 1 and 2 to see if they work with your display or capture device. Different cores will have different results.

vsync_adjust=0 Default. Buffered 60hz HDMI video output, compatible with most HDMI devices.

vsync_adjust=1 Adjust output HDMI Vsync to match original Vsync. Lower latency than mode 0, but less compatible.

vsync_adjust=2 Low-latency mode, using the system's native pixel clock. This mode has the lowest latency, but it's the least-compatible.
akeley
Top Contributor
Posts: 1315
Joined: Mon May 25, 2020 7:54 pm
Has thanked: 426 times
Been thanked: 415 times

Re: Awful sound?

Unread post by akeley »

Yeah, you're right...I suggested myself :) In that case changing the values is unlikely to help, but it won't hurt trying anyway.
Post Reply