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 --- Bug Reports --- Site News

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

  

Author Topic: Sound Pitch Issues 3D Games  (Read 181 times)

0 Members and 1 Guest are viewing this topic.

zerochad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:August 03, 2019, 09:46:31 am
  • I want to build my own arcade controls!
    • C D C R U Z E
Sound Pitch Issues 3D Games
« on: July 31, 2019, 07:00:59 am »
I seem to get sound pitch issues mainly with 3D games. The speed is going up and down not staying at 100%. I can't seem to figure out the cause. My PC is definitely more than powerful enough to handle them (I7, 16G of RAM) but I can't seem to nail down whats causing it. 2D games seem to work fine without an issue.

PC is i7 6700, 16G RAM, HD 7570.
I'm running GM 205.

I've looked around and I've tried the -triplebuffer parameter with no luck.

I've attached
- Bloody Roar 2 logs, with and without the -tripplebuffer parameter.
- mame.ini file


Any help would be appreciated!
« Last Edit: July 31, 2019, 07:03:27 am by zerochad »
cdcruze.com / emulation & arcade tutorials

Foxhole

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 123
  • Last login:Today at 12:54:35 am
  • I want to build my own arcade controls!
Re: Sound Pitch Issues 3D Games
« Reply #1 on: July 31, 2019, 07:49:43 am »
My pc has a 7700k and struggles with bloody roar 2 if frame delay is on, even at a setting of 1.
There's a good chance your pc can't run this game.
Btw, you did not include your mame ini file.

zerochad

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:August 03, 2019, 09:46:31 am
  • I want to build my own arcade controls!
    • C D C R U Z E
Re: Sound Pitch Issues 3D Games
« Reply #2 on: July 31, 2019, 08:03:06 am »
Ok I figured it out if anyone else has the same issue. In your MAME.ini triplebuffer AND syncrefresh need to be 1 and volia, perfect sound and stable 100% speed.
I've attached my MAME.ini for reference.

My pc has a 7700k and struggles with bloody roar 2 if frame delay is on, even at a setting of 1.
There's a good chance your pc can't run this game.
Btw, you did not include your mame ini file.
I just used BR2 as an example was happening for all 3D games. I've had BR2 running on much less, the older 3D MAME games run mostly 100% on modern CPU these days.
The game runs fine there's no stuttering with performance or sound etc, just the sound pitch was the problem.
cdcruze.com / emulation & arcade tutorials

Foxhole

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 123
  • Last login:Today at 12:54:35 am
  • I want to build my own arcade controls!
Re: Sound Pitch Issues 3D Games
« Reply #3 on: July 31, 2019, 08:29:43 am »
Upon further testing it seems that somewhere along the road some of the 3d games really got performance hit.
On groovymame 0.169 asio build i can run bloody roar 2 easily with a frame delay of 5. On gm 0.211 i have to lower frame delay to 0 and even then I'm still getting occasional speed drops.

krick

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2000
  • Last login:August 18, 2019, 07:21:58 pm
  • Gotta have blue hair.
Re: Sound Pitch Issues 3D Games
« Reply #4 on: August 06, 2019, 05:04:54 pm »
Ok I figured it out if anyone else has the same issue. In your MAME.ini triplebuffer AND syncrefresh need to be 1 and volia, perfect sound and stable 100% speed.

The game runs fine there's no stuttering with performance or sound etc, just the sound pitch was the problem.

I think the pitch change is a symptom of MAME adjusting the emulation speed to match your refresh rate.

By enabling triplebuffer, MAME no longer needs to match your refresh rate but it adds lag.

This may or may not be desirable depending on what your goals are.

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