Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
08997 Sound Trivial Have not tried Dec 6, 2024, 01:51 3 hours ago
Tester 125scratch View Status Public Platform MAME (Official Binary)
Assigned To Resolution Open OS
Status [?] Acknowledged Driver
Version 0.272 Fixed in Version Build
Fixed in Git Commit Github Pull Request #
Summary 08997: mario and clones: Walking sound is a little too harsh and short
Description Compare the original PCB:


Steps To Reproduce Start a game with sound enabled and move left or right.
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems mario and clones
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
11
User avatar
No.23160
125scratch
Tester
Mar 26, 2025, 17:27
Thought I'd send an original hardware reference I recorded myself. https://files.catbox.moe/3ulixl.wav
User avatar
No.24168
125scratch
Tester
2 days ago
I tested a build with the new fix, and I have to say the duration of the sound is pretty much perfect, but the tone itself is still a bit too loud. On the original hardware it sounds more "smooth".
User avatar
No.24169
125scratch
Tester
2 days ago
When analyzing the sound effect slowed down 0.25x, it seems like the original hardware only has the relatively lower-pitched "slide up" component, and doesn't contain the scratchy higher-pitched part, though the skid sound still has that.
User avatar
No.24170
hap
Developer
1 day ago
Ok I'll reopen the bugreport.

And to make it sound clearer, try this in nl_mario.cpp:
(still not 100% correct, and much slower to emulate)
PARAM(Solver.DYNAMIC_TS, 1)
PARAM(Solver.DYNAMIC_MIN_TIMESTEP, 1e-6)

instead of:
PARAM(Solver.DYNAMIC_LTE, 5e-2)
PARAM(Solver.DYNAMIC_TS, 0)
User avatar
No.24173
hap
Developer
1 day ago
I enabled DYNAMIC_TS and left the other param alone here: https://github.com/mamedev/mame/commit/87e09a4cc840a0cc9c4499ad697e201854728f36
Sound is clearer, netlist emulation is slower but not excessive. Good enough to resolve bug report?
User avatar
No.24182
125scratch
Tester
18 hours ago
Hmm, I'd say the high pitched part of the sound is still too loud, but this is still a lot more accurate than how it was before you made any of these changes. The report can be resolved if you're sure there's nothing that can be done to make it more accurate. I understand that these analog sound effects are difficult to emulate.
User avatar
No.24183
hap
Developer
18 hours ago
The 1st video in the above list has the clearest audio, I think the 'wip wip wip' sounds about as loud as MAME? It's less clear on the other videos.
User avatar
No.24184
125scratch
Tester
18 hours ago
Fair enough, maybe it's accurate. It just sounds a bit much to me personally. It might vary a bit between boards.
User avatar
No.24185
125scratch
Tester
18 hours ago
I found a direct PCB capture reference:
User avatar
No.24188
hap
Developer
7 hours ago
Yeah, it sounds softer than the 1st video.
And yes, analog sound won't sound exactly the same on all boards (wear & tear of discrete components). Though I won't say that MAME's netlist simulation overall is 100% accurate either.
User avatar
No.24189
125scratch
Tester
3 hours ago
The new emulation with DYNAMIC_TS enabled is still a lot more accurate than the old emulation, I'd understand if you want to leave it there.