Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: I'm Getting Stuttering Sounds On Newer Mame Versions  (Read 4507 times)

0 Members and 1 Guest are viewing this topic.

fjl

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1152
  • Last login:March 04, 2017, 10:14:04 pm
  • Pixels Rule!
I'm Getting Stuttering Sounds On Newer Mame Versions
« on: August 06, 2007, 10:11:09 am »
 :hissy:

I usually skip a few versions of mame before trying out the new ones. Last version I tried that did not have a stuttering problem was 0.106

After that I tried MAME32 version 0.116 and some various versions of MAME 32 0.117

I even thought that perhaps it was because I was using the RAM hogging mame32 frontends. So I went with the regular mame and tried the latest version 0.118

The stuttering was not as bad... at first. It got worse as I continued playing. Why is this? Is my computer slow? Its a P4 3.0ghz with 1gb of ram. The games runs fine at their full speed actually its only the sound that is having a problem. Anyone else getting these problems? Or is it just me?  :banghead:

draginit

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 215
  • Last login:December 26, 2023, 12:59:18 pm
Re: I'm Getting Stuttering Sounds On Newer Mame Versions
« Reply #1 on: August 06, 2007, 10:39:05 am »
same thing happened to me when i went to 111 from 106 the damn stuttering sound. now heres the wierd part..i was using gameex FE.  i tried everthing possible thing to figure it out...hell you'll see multiple posts from me in the gameex forum about it, then i switched FE's to Mala and for some wierd reason i havnt had any sound problems at all!!! so i dont know if that will help you or if actually switching was the fix, but my gaming experience has been way more enjoyable. good luck.

fjl

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1152
  • Last login:March 04, 2017, 10:14:04 pm
  • Pixels Rule!
Re: I'm Getting Stuttering Sounds On Newer Mame Versions
« Reply #2 on: August 06, 2007, 11:04:09 am »
I've just done some more investigating and realized that Mortal Kombat II runs so slow its unplayable. Both sound and framerates. And it seems to get worse with every newer version. The only version where the game runs at full speed is when I go back as far as mame32  0.64 which came out back in 2003  :o

Am I doomed now to try and make a working cab cause apparently some of these games won't work on it. wtf?

 :hissy: :timebomb: :angry:

JoyMonkey

  • Voodoo Wiki Master . . .
  • Wiki Master
  • Trade Count: (+5)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 2899
  • Last login:June 16, 2025, 09:16:27 pm
  • Candy is Dandy but Liquor is Quicker
    • JoyMonkey.com
Re: I'm Getting Stuttering Sounds On Newer Mame Versions
« Reply #3 on: August 06, 2007, 11:44:33 am »
Did you try playing around with the -audio_latency parameter in Mame?
I've had similar problems when using recent versions of AdvMame on really old machines; usually bumping the latency around irons out any problems.
Might be an easy fix for you, if that doesn't do it  :dunno

Quote from: windows.txt
-audio_latency

        This controls the amount of latency built into the audio streaming. By
        default MAME tries to keep the DirectSound audio buffer between 1/5 and
        2/5 full. On some systems, this is pushing it too close to the edge,
        and you get poor sound sometimes. The latency parameter controls the
        lower threshold. The default is 1 (meaning lower=1/5 and upper=2/5).
        Set it to 2 (-audio_latency 2) to keep the sound buffer between 2/5 and
        3/5 full. If you crank it up to 4, you can definitely notice the lag.

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1900
  • Last login:December 31, 2021, 01:46:10 pm
  • Make It So!
Re: I'm Getting Stuttering Sounds On Newer Mame Versions
« Reply #4 on: August 06, 2007, 12:19:38 pm »
You havent by mistake enabled, 'triple buffering' or 'wait for v sync' etc???

fjl

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1152
  • Last login:March 04, 2017, 10:14:04 pm
  • Pixels Rule!
Re: I'm Getting Stuttering Sounds On Newer Mame Versions
« Reply #5 on: August 06, 2007, 04:53:00 pm »
How do I check for that?

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: I'm Getting Stuttering Sounds On Newer Mame Versions
« Reply #6 on: August 06, 2007, 05:02:08 pm »
You havent by mistake enabled, 'triple buffering' or 'wait for v sync' etc???

Also stuff to check:

-video setting (directdraw vs direct3d).  The default switched to D3D from DD between your versions, as well as major video rendering code in mame core.  If your video card does directdraw better than D3D, change the setting to DD.

Your monitor's refresh rate vs the game's original refresh rate.  If your's is slower, you will get sound problems since now the sound speed is linked to the video speed.  I'd guess this is your problem since you say the game runs fine except for sound.

Robin
Knowledge is Power

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1900
  • Last login:December 31, 2021, 01:46:10 pm
  • Make It So!
Re: I'm Getting Stuttering Sounds On Newer Mame Versions
« Reply #7 on: August 06, 2007, 05:43:08 pm »
How do I check for that?
 

Look in the mame.ini file, you see triple buffering, if its got a '0' next to it its off, if its got a '1' then it on, same for wait for v sync.

I have been getting stutter problems on some games as im actually using tripple buffering, to stop screen tearing ive have noticed on some game. I found setting frameskip to '2' fixes my sound skipping problem, the only thing im not sure of is, is setting frameskip to '2' noticable, and would it effect gameplay?

Avrus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 400
  • Last login:September 07, 2011, 09:17:25 pm
  • Canada
    • The Avrus Arcade Project 'Conquest'
Re: I'm Getting Stuttering Sounds On Newer Mame Versions
« Reply #8 on: August 06, 2007, 08:50:06 pm »
Version 2.1 of MKII plays perfectly.  3.1 does not.
______________________________
'Conquest' upright 4 player arcade project log:
http://avrus.blogspot.com/

fjl

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1152
  • Last login:March 04, 2017, 10:14:04 pm
  • Pixels Rule!
Re: I'm Getting Stuttering Sounds On Newer Mame Versions
« Reply #9 on: August 06, 2007, 09:05:40 pm »
No, none of this is working. It's seriously pissing me off :timebomb:


Changing audio_latency does help to reduce the stutter but now the game runs in slow motion. That wont do.

I don't have either wait for v sync or triple buffering to 1. They are both off.

It's currently set to run on Direct3D and when I change it to Direct Draw, it runs even crappier.

As for MK2 version L2.1
just like all other MK2 versions, it runs fine for the like the first minute then suddenly becomes so choppy, that I'm at full health on one frame, then I'm being fatalatied the next. Ok so its not that bad, but practically!

What do I do!?  :hissy:

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1146
  • Last login:May 31, 2025, 10:10:32 pm
Re: I'm Getting Stuttering Sounds On Newer Mame Versions
« Reply #10 on: August 06, 2007, 09:26:15 pm »
What do I do!?  :hissy:

Going back to u_rebelscum's comments.  What is your current screen refresh rate?

fjl

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1152
  • Last login:March 04, 2017, 10:14:04 pm
  • Pixels Rule!
Re: I'm Getting Stuttering Sounds On Newer Mame Versions
« Reply #11 on: August 06, 2007, 10:09:20 pm »

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1146
  • Last login:May 31, 2025, 10:10:32 pm
Re: I'm Getting Stuttering Sounds On Newer Mame Versions
« Reply #12 on: August 06, 2007, 10:39:00 pm »
Have you tried using msconfig to temporarily disable startup apps to see if they are slowing you down?
Temporarily disable your antivirus?
Check for viruses/spyware w/up-to-date antivirus/antispyware?
Check for rootkits?

draginit

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 215
  • Last login:December 26, 2023, 12:59:18 pm
Re: I'm Getting Stuttering Sounds On Newer Mame Versions
« Reply #13 on: August 06, 2007, 10:43:33 pm »
refresh rates! can that actually work?  mine is set at default 56 herts, works fine using mala but not in gameex or mame32 by itself..but can go as low as 47 interlaced.  im afraid to change it tho,not sure if it will damage my monitor.,...whats it safe to change it to or what is recomended to try for the sound issue?
-sorry to jump in, but i have gone thru everything that has been listed so far with no luck..except for this last one, im just curious now.

Avrus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 400
  • Last login:September 07, 2011, 09:17:25 pm
  • Canada
    • The Avrus Arcade Project 'Conquest'
Re: I'm Getting Stuttering Sounds On Newer Mame Versions
« Reply #14 on: August 06, 2007, 11:46:57 pm »
Are you certain it's not hardware related?
______________________________
'Conquest' upright 4 player arcade project log:
http://avrus.blogspot.com/

fjl

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1152
  • Last login:March 04, 2017, 10:14:04 pm
  • Pixels Rule!
Re: I'm Getting Stuttering Sounds On Newer Mame Versions
« Reply #15 on: August 07, 2007, 12:39:47 am »
I thought of that so I went into my task manager and removed anything from memory that wasn't neccessary. That included firewalls and antivirus programs. Cleared almost everything. Retried the game and the same thing. Works for a few minutes then the framerate quickly decreased to like 4fps.

And I know I don't have spyware or rootkits. I just reformatted my pc not so long ago. Before I reformatted it also ran pretty crappily so I thought it had to do with spyware and other things. But after reformatting, I quickly retried mame, and it was the same thing.

 :dunno

headkaze

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2943
  • Last login:August 14, 2023, 02:00:48 am
  • 0x2b|~0x2b?
Re: I'm Getting Stuttering Sounds On Newer Mame Versions
« Reply #16 on: August 07, 2007, 01:12:50 am »
refresh rates! can that actually work?  mine is set at default 56 herts, works fine using mala but not in gameex or mame32 by itself..but can go as low as 47 interlaced.  im afraid to change it tho,not sure if it will damage my monitor.,...whats it safe to change it to or what is recomended to try for the sound issue?
-sorry to jump in, but i have gone thru everything that has been listed so far with no luck..except for this last one, im just curious now.

GameEx sends command line options to Mame, and I would guess it's something to do with that. This is a very common issue. If it happens in Mame32 also, that means it's an option you have there also.

Usually changing -dd to -d3d does the trick. You can try Mame32 first by going into the display options and changing DirectDraw to Direct3d.

fjl

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1152
  • Last login:March 04, 2017, 10:14:04 pm
  • Pixels Rule!
Re: I'm Getting Stuttering Sounds On Newer Mame Versions
« Reply #17 on: August 07, 2007, 01:41:16 am »
I tried changing direct3d to driect draw on both the mame32 and regular mame. Same thing.  :'(

Havok

  • Keeper of the __Blue_Stars___
  • Trade Count: (+17)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4530
  • Last login:July 11, 2025, 01:29:48 am
  • Insufficient facts always invite danger.
Re: I'm Getting Stuttering Sounds On Newer Mame Versions
« Reply #18 on: August 07, 2007, 07:57:55 am »
Another thing to try is update video drivers, and I have seen some cases where changing out the sound card (instead of using a built in one) fixes the problem. If updated video drivers don't help, grab a cheap Sound Blaster card and disable the built in audio...

fjl

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1152
  • Last login:March 04, 2017, 10:14:04 pm
  • Pixels Rule!
Re: I'm Getting Stuttering Sounds On Newer Mame Versions
« Reply #19 on: August 07, 2007, 01:39:34 pm »
I tried disabling the sound on mame and it still does it. I did some even more investigating and found out that NBA Jam also has this problem. The bad framerate problem. RIght now, the sound stuttering is really not something I'm concerned about. The games I am having a bad framerate issue with are as far as I know...

Gekirindan
MK2
Elevator Action 2
NBA Jam TE

Not really sure about MK2 but I do know that NBA JAm didn't used to have this bad framerate problem that also goes for Elevator Action 2 and Gekirindan. Not sure what the hell is causing these games to work like crap but its really annoying. And this is happening on earlier versions of MAME where I know this games used to run smoothly. At least none of the street fighter games have this problem.
 :hissy:

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1146
  • Last login:May 31, 2025, 10:10:32 pm
Re: I'm Getting Stuttering Sounds On Newer Mame Versions
« Reply #20 on: August 07, 2007, 02:38:00 pm »
I tried disabling the sound on mame and it still does it.

Any chance you have ini files for these games in the INI folder?  If you do, their settings take precedence over any changes you make to mame.ini.

Buddabing

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1845
  • Last login:February 12, 2015, 02:51:45 pm
  • I'm a llama!
Re: I'm Getting Stuttering Sounds On Newer Mame Versions
« Reply #21 on: August 07, 2007, 02:50:36 pm »
There are threads similar to this problem on mame.net. I believe the problem and solution were explained over there.
I have changed my nickname to "Cakemeister". Please do not PM the Buddabing account because I do not check it anymore.

Please read the wiki!

SGT

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1146
  • Last login:May 31, 2025, 10:10:32 pm
Re: I'm Getting Stuttering Sounds On Newer Mame Versions
« Reply #22 on: August 07, 2007, 02:59:51 pm »
There are threads similar to this problem on mame.net. I believe the problem and solution were explained over there.



Indeed, but he has already confirmed his mame.ini settings to match the solution over there.  That's why I'm asking if he has individual game ini(s) which would explain why he still has a problem.

fjl

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1152
  • Last login:March 04, 2017, 10:14:04 pm
  • Pixels Rule!
Re: I'm Getting Stuttering Sounds On Newer Mame Versions
« Reply #23 on: August 07, 2007, 05:56:08 pm »
No I haven't made any specific game .ini files. Only specific game files are the controller configuration files and thats just for the street fighter games.

lettuce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1900
  • Last login:December 31, 2021, 01:46:10 pm
  • Make It So!
Re: I'm Getting Stuttering Sounds On Newer Mame Versions
« Reply #24 on: August 09, 2007, 09:42:12 am »
I take it your running standard mame? (not mame32), after you quit out of the game dos gives a result of what average speed the last game was runing at, what do you get for the game your having problems with?, and are they different from other games??

fjl

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1152
  • Last login:March 04, 2017, 10:14:04 pm
  • Pixels Rule!
Re: I'm Getting Stuttering Sounds On Newer Mame Versions
« Reply #25 on: August 09, 2007, 05:21:49 pm »
I have the non mame32 and mame32. I don't think I have the DOS version of mame though. I get no results of anything. But if you want to know, MK2 runs at about 4fps. Same for NBA Jam TE and Gekirindin. Not sure what is causing these anoyances because they used to work before.