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: Laggy sound  (Read 3222 times)

0 Members and 1 Guest are viewing this topic.

Canoe513

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11
  • Last login:October 14, 2011, 12:48:04 pm
Laggy sound
« on: April 27, 2011, 12:40:01 am »
My cabinet is all but done!! (I just need a monitor) I was testing out my system with my desktop monitor and ran into an annoyance. MAME runs at about 85% which is playable and enjoyable however the sound is real choppy. I am running onboard sound and wonder if that is the problem. My emulators run great on it but for some reason the MAME is not.

krick

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2006
  • Last login:May 23, 2025, 03:48:36 am
  • Gotta have blue hair.
Re: Laggy sound
« Reply #1 on: April 27, 2011, 01:41:49 am »
What version of MAME are you running?
What build of MAME are you running?
What operating system?
32 or 64 bit?
How fast is your CPU?
How much memory?
What game (or games) are giving you problems?
Hantarex Polo 15KHz
Sapphire Radeon HD 7750 2GB (GCN)
GroovyMAME 0.197.017h_d3d9ex
CRT Emudriver & CRT Tools 2.0 beta 13 (Crimson 16.2.1 for GCN cards)
Windows 7 Home Premium 64-bit
Intel Core i7-4790K @ 4.8GHz
ASUS Z87M-PLUS Motherboard

Canoe513

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11
  • Last login:October 14, 2011, 12:48:04 pm
Re: Laggy sound
« Reply #2 on: April 27, 2011, 10:48:13 am »
I am running MAME .139. My system is Intel Celeron 340 2.93GHz, 32 bit, 256MB of memory, 512 MB Ram, and I have an ATI Radeon 9550 Video card

BobA

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5943
  • Last login:July 11, 2018, 09:52:14 pm
  • What Me Worry?
Re: Laggy sound
« Reply #3 on: April 28, 2011, 01:21:12 am »
CPU is a bit slow a dual core would be better and you need more memory for sure.

krick

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2006
  • Last login:May 23, 2025, 03:48:36 am
  • Gotta have blue hair.
Re: Laggy sound
« Reply #4 on: April 28, 2011, 01:44:48 am »
For a cabinet with an arcade monitor, try CabMAME or GroovyMAME (what I use) and use the "SoundSync" option to smooth out the sound.
Hantarex Polo 15KHz
Sapphire Radeon HD 7750 2GB (GCN)
GroovyMAME 0.197.017h_d3d9ex
CRT Emudriver & CRT Tools 2.0 beta 13 (Crimson 16.2.1 for GCN cards)
Windows 7 Home Premium 64-bit
Intel Core i7-4790K @ 4.8GHz
ASUS Z87M-PLUS Motherboard

Canoe513

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11
  • Last login:October 14, 2011, 12:48:04 pm
Re: Laggy sound
« Reply #5 on: April 28, 2011, 10:49:49 am »
Ok I got more memory ordered and I will try a different front end. Thanks for the help, hopefully I can get out there and enjoy all my hard work soon.

lilshawn

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7513
  • Last login:Yesterday at 05:36:09 pm
  • I break stuff...then fix it...sometimes
Re: Laggy sound
« Reply #6 on: April 29, 2011, 01:14:13 pm »
make sure your sound isn't using any shared resources (IRQ's DMA's etc)

having shared resources can cause stuttering like what you describe.

CPU is a bit slow a dual core would be better and you need more memory for sure.

i concur, more is definitely better, you don't have to go crazy. i was running alright with a 2.2ghz athlon 64 with 1.5gb ram and a radeon 9550 videocard.

using all onboard stuff sucks the power out of your CPU for sure. if your using onboard stuff, consider using cards to get some of the load off the CPU

Canoe513

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11
  • Last login:October 14, 2011, 12:48:04 pm
Re: Laggy sound
« Reply #7 on: May 11, 2011, 12:46:53 am »
Ok so I just put my new RAM in (now running 3 sticks of 512) and it helped out my video problem, however my sound is still laggy as hell. I am almost to the point of  getting a sound card, but I really don't want to put any more money into it. Is there any way I can do some adjustments or anything?? (I should also say that MGalaxy is my front end and it is the only program I am having the sound trouble with. NES Genesis and SNES work just fine.)

lilshawn

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7513
  • Last login:Yesterday at 05:36:09 pm
  • I break stuff...then fix it...sometimes
Re: Laggy sound
« Reply #8 on: May 11, 2011, 01:02:30 am »
run a game and then ctrl+alt+del...

mame should have most of the CPU load

see if mGalaxy is using CPU % when it's in the background. it shouldn't be... but if it runs animations of screenshots or video,(and still doing so in the background) then it's an issue with the program and you will have to take it up with the mGalaxy developers.

mGalaxy looks relatively new, it likely still has bugs. report the issue to them and see what happens. maybe they have dealt with this issue before.

Canoe513

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11
  • Last login:October 14, 2011, 12:48:04 pm
Re: Laggy sound
« Reply #9 on: May 14, 2011, 02:36:48 am »
Ok so I went and opend MGalaxy and ran a game. I opened task manager and saw that MAME was taking 87 percent or so. However I noticed that with Task manager open and in the foreground, the sound worked with no lag at all. As soon as I minimized or closed Task Manager, the sound went to ---steaming pile of meadow muffin--- again. MGalaxy was not taking up any resources.

DrumAnBass

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 634
  • Last login:July 10, 2024, 10:36:54 pm
  • "I love this computer magic!" - Viv Savage
Re: Laggy sound
« Reply #10 on: May 14, 2011, 10:39:16 pm »
Another thing that can help is set MAME sound to run at 22khz instead of the default 44khz. Did the trick for me.

Also be aware that older versions of Mame tend to use less CPU resources and might make it sound fine at 44khz. Try Mame .103 or so.
"Some drink from the fountain of knowledge; I only gargle."

Canoe513

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11
  • Last login:October 14, 2011, 12:48:04 pm
Re: Laggy sound
« Reply #11 on: May 29, 2011, 02:31:26 pm »
Went and bought a sound card for 6 bucks.....my MAME works perfectly. Thanks for all your help

lilshawn

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7513
  • Last login:Yesterday at 05:36:09 pm
  • I break stuff...then fix it...sometimes
Re: Laggy sound
« Reply #12 on: May 29, 2011, 02:34:20 pm »
 :applaud: