Kinda sound issues with core

ReadyPlayerTwo
Posts: 58
Joined: Sun Jan 10, 2021 7:40 pm
Has thanked: 2 times
Been thanked: 7 times

Kinda sound issues with core

Unread post by ReadyPlayerTwo »

I say kinda as its a problem and not a problem.

Ive noticed that if using HDMI from mister to my TV the sound on the core is messy in places, Zelda Oracle of Seasons overworld music, plays badly, stops playing then starts again. Hard to explain but its not right.

Now i put a DAC on the mister using the mini toslink adapter as i had one spare. The sound through this is perfect. 100% better.

Plus other cores sound better through the DAC.

Thinking this may be a clash of old tech vs new??
FPGAzumSpass
Core Developer
Posts: 380
Joined: Sat May 23, 2020 12:55 pm
Has thanked: 38 times
Been thanked: 383 times

Re: Kinda sound issues with core

Unread post by FPGAzumSpass »

You need to distinguish between problems with the internal audio generation in the core and the output.

The core itself doesn't know anything of the output device, it will even calculate the whole audio if you have no output device connected at all.

Things like "stops playing then starts again" sounds liks it's a calculation problem inside the core,
but if it's gone with another output device, maybe your TV has a problem with the sound coming over HDMI?
esmith13
Posts: 25
Joined: Mon May 25, 2020 1:54 am
Has thanked: 4 times
Been thanked: 1 time

Re: Kinda sound issues with core

Unread post by esmith13 »

I have the same issues with this core and the GBA core (but no other cores). even the bios "bing" sound has sort of a reverb-like stutter as does all audio in any games.
The issue occurs throughout all of my testing across both mid-to-high end Samsung & Vizio TVs as well as on full size and portable HDMI monitors with audio. In all cases I'm using HDMI output and each tv/monitor test was done with a different HDMI cable that was appropriate to that setup.

EDIT: SOLVED IT!!!
Apparently GB/GBC core and GBA core can't correctly sync audio when the MiSTer.ini file has 'vsync_adjust' set to any non-zero value.
I thought about just setting a core specific option of 'vsync_adjust=0' for these two cores at the end of the ini file but I decided to set the main setting back to '0' for now so I can more thoroughly test other cores to see if it really is only these two that have issues or if there are more...
ReadyPlayerTwo
Posts: 58
Joined: Sun Jan 10, 2021 7:40 pm
Has thanked: 2 times
Been thanked: 7 times

Re: Kinda sound issues with core

Unread post by ReadyPlayerTwo »

Hmmmm hadn’t thought about the tv being possibly the issue, it is quite old by modern standards so perhaps it is the problem.

DAC works fine so I’ll just use that!!
ash2fpga
Posts: 237
Joined: Tue May 26, 2020 6:20 pm
Has thanked: 62 times
Been thanked: 28 times

Re: Kinda sound issues with core

Unread post by ash2fpga »

The video sync could be an issue. For example, over on the ao486 side, a popular demoscene demo, Second Reality, the audio and video desync, which becomes apparent very quickly, when vsync [ao486 specific setting] is set to 60hz instead of variable (the demo is intended for 70hz refresh). Discussion for that issue is here: https://misterfpga.org/viewtopic.php?f=13&t=1643
Post Reply