Jump to content



Photo

Setting the best sound sample rate in VPinMAME


  • Please log in to reply
8 replies to this topic

#1 Pinball Ken

Pinball Ken

    Enthusiast

  • VIP
  • 199 posts
  • Location:Winchester, UK

  • Flag: United Kingdom

  • Favorite Pinball: Cirqus Voltaire



Posted 11 July 2009 - 04:44 PM

I've always felt the VPM Development Team were less than helpful in posting a default of 44100 for sound in VPinMAME, when ROM sound has been generally in multiples of 8000.

mrshultz has confirmed that modern Stern pinballs have now made the progression from 32000 to 64000, which works fine for all tables, as 32000 did a few years back when Bally/Williams DCS sound was the standard. This removes the scratchiness in Elvis or the out of synch sounds in LOTR, for instance.

Enjoy!

PK cool.gif
VP Released Tables

Attack From Mars, Batman, Cirqus Voltaire (Fuseball), Corvette, Cue Ball Wizard, NBA Fastbreak, No Fear (Germax), Judge Dredd (aurian), JunkYard, Indiana Jones (Redux), Medieval Madness (macho), SafeCracker, Star Trek: The Next Generation (Destruk), Tales of the Arabian Nights (At Night), The Shadow, The Sopranos, The Simpsons Pinball Party, The Who's Tommy, Theatre of Magic (At Night).

#2 pinball buzz

pinball buzz

    Pinball Fan

  • VIP
  • 823 posts
  • Location:United Kingdom

  • Flag: United Kingdom

  • Favorite Pinball: TOM



Posted 11 July 2009 - 09:09 PM

Thanks PK,
Will try changing settings in my cab, as I do notice the scratchiness when playing Elvis.
Just never knew what sample rate to change from the default 44100.
Cheers Buzz

QUOTE (Pinball Ken @ Jul 11 2009, 05:44 PM) <{POST_SNAPBACK}>
I've always felt the VPM Development Team were less than helpful in posting a default of 44100 for sound in VPinMAME, when ROM sound has been generally in multiples of 8000.

mrshultz has confirmed that modern Stern pinballs have now made the progression from 32000 to 64000, which works fine for all tables, as 32000 did a few years back when Bally/Williams DCS sound was the standard. This removes the scratchiness in Elvis or the out of synch sounds in LOTR, for instance.

Enjoy!

PK cool.gif


Pinball Buzz - Builder of pinball cabs since May 2008.

See my cab pictures here

http://www.flickr.co...s/94649948@N00/
[/size][/size]

#3 FDSystems

FDSystems

    Eclectic end-user

  • Charter Member
  • 2,476 posts
  • Location:Bahia

  • Flag: Brazil

  • Favorite Pinball: I will have to find out again.............

Posted 09 June 2010 - 04:00 AM

Thanks for the tip!
From Brasil. Updated version of 1234fd



#4 bolt

bolt

    VPF Veteran

  • VIP
  • 5,129 posts
  • Location:Kiel / Schleswig Holstein

  • Flag: Germany

  • Favorite Pinball: JP's Deadpool, Harlem Globetrotters, Spiderman and much more

Posted 09 June 2010 - 09:07 PM

THanks for the advice.
Posted Image

#5 rob046

rob046

    Often Emulated, Never Duplicated

  • Members
  • PipPipPipPipPip
  • 2,023 posts
  • Location:Central PA

  • Flag: United States of America

  • Favorite Pinball: 8 Ball Deluxe, ToM, & Funhouse



Posted 10 June 2010 - 01:54 AM

QUOTE (Pinball Ken @ Jul 11 2009, 12:44 PM) <{POST_SNAPBACK}>
I've always felt the VPM Development Team were less than helpful in posting a default of 44100 for sound in VPinMAME, when ROM sound has been generally in multiples of 8000.

mrshultz has confirmed that modern Stern pinballs have now made the progression from 32000 to 64000, which works fine for all tables, as 32000 did a few years back when Bally/Williams DCS sound was the standard. This removes the scratchiness in Elvis or the out of synch sounds in LOTR, for instance.

Enjoy!

PK B)


So do ALL modern Stern's use the 64000 setting? Or did this start a few years back with the latest MPU?
Might be helpful to list what era's should use what settings. Like with Bally/WMS, I guess that any pin after (& including) Indiana Jones for Williams & Judge Dredd for Bally would be best to use the 32000 setting? Right?
What about DMD Gottlieb's? Sega? What about older pre-DMD pins?

I'd assume somebody knows the mhz used on all popular era's/manufacturers.
Armed with that info, maybe the VPM team could put the correct mhz by default for the MPU's that require something other than 44100? If not, if I had the info, I'd do it manually.

#6 MDG79

MDG79

    Hobbyist

  • Members
  • PipPip
  • 37 posts
  • Location:Fijnaart, Noord-Brabant, The Netherlands

  • Flag: Netherlands

  • Favorite Pinball: Family Guy (Stern)

  • 360 Gamer Tag: mdg79

Posted 10 June 2010 - 06:27 PM

I have The sound quality in VpinMAME and PinMAME32 set to CD-Quality (44.1 Khz, 16 bit and stereo, 48 khz is also possible)
That represents the soundquality of the emulated audio output played by VpinMAME. Making it possible to play the sound of older hardware in high quality.
I think it has nothing to do with the bitrates of played sound in the original hardware in a real machine.

Those are PCB's with sounddata stored in EEPROMS and integrated amplifier suited to play the sound in the hardware's own set quality.
In VPinMAME this hardware is revived in a software environment with the sound played through an often high-end soundcard installed in a PC, which makes it possible to play sound in cd-quality or even higher
(I have a Creative X-Fi ExtremeAudio card installed which can reach a bitrate of 96 khz and 24 bit)

Here are the clock speeds and used bitrates of the most common audio-hardware:

Gottlieb GTS3 = OKI MSM6295 at 7,575 kHz with samples, 2x DAC and Yamaha YM2151 at 4 mhz
sounddata can be converted with the tROMbone app, sound is stored in AROM1.BIN and AROM2.BIN (also from arcade videogames that use the OKI 6295)

DCS = ADSP2105 at 40 mHz + 16 bit monoDAC and 32000 khz (more info, read here: http://www.edcheung....nclewilly3.htm)

Data-East/Sega/Stern Whitestar I System = BSMT2000 (special ROMcoded version of a Texas Instruments' TMS320C15 DSP-chip) running at 24 mhz
although played in stereo in the game, the sound is stored as 8 bit mono in the soundroms in a bitrate of 11025 Hz (Sega) and 8000 Hz (Stern)
All soundroms from the whitestar system can be opened in a audio-editing program like Cooledit Pro (e.g SPKU16.100 from Southpark).

So the best quality is just 44100 hz or 48000 hz if you like. It even makes the synthnoises from the AY-3-8910 on the Squawk and Talk board sound crystal clear.


#7 bent98

bent98

    Pinball Fan

  • Members
  • PipPipPipPip
  • 1,077 posts
  • Location:NY

  • Flag: United States of America

  • Favorite Pinball: Roadshow, Haunted House, Safe Cracker

Posted 12 June 2010 - 01:38 AM

So does that mean the default setting is ok? We do not need to set higher?

#8 destruk

destruk

    VPF Veteran

  • VPF Staff
  • 6,307 posts
  • Location:Colorado Springs, CO

  • Flag: United States of America

  • Favorite Pinball: Ultrapin!



Posted 12 June 2010 - 02:08 AM

QUOTE (bent98 @ Jun 11 2010, 07:38 PM) <{POST_SNAPBACK}>
So does that mean the default setting is ok? We do not need to set higher?


You can adjust it if you like - I find that most games sound fine to me with the default setting, on decent hardware. I changed the sample rate to 32000 for LOTR and got a few extra fps and less scratchiness when it is using emulated sound. Your results may vary - which is why you can adjust the setting.


Edited by destruk, 02 April 2011 - 07:52 AM.

Build a fire, vipers love the heat.


#9 ta2686

ta2686

    Retired ROM Settings Guru

  • VIP
  • 2,324 posts
  • Location:USA

  • Flag: United States of America

  • Favorite Pinball: ONE THAT WORKS!



Contributor

Posted 13 June 2010 - 10:56 AM

I have tested this setting on the modern Stern tables and have received mixed results on my laptop.

Laptop specs:

Core Duo 1.8gHz
1 gig memory
Intel integrated graphics and sound
Windows XP SP3

Here is what I found:

LOTR and Elvis work and sound fine with this setting, as was stated above. No delays when event was triggered.

RBION, Sopranos, Nascar and Grand Prix however there is a delay in playing the sound when event was triggered. The delay seemed to be a few seconds, but it is noticeable. Also noticing some scratchiness in the sounds at this setting for these tables.

Just my two cents on this issue.
Need to set or reset replay levels on a particular table? These guides will help you:

For Non-DMD tables: Guide to reset replay levels on non-DMD tables

For DMD tables: Guide to set replay levels on DMD tables

Need to change the number of balls per game on a particular table? These guides will help you:

For Non-DMD tables: Guide to set number of balls per game on non-DMD tables

For DMD tables: Guide to set number of balls per game on DMD tables

Need to adjust the volume on DMD based tables? This guide will help you:

Guide to adjust volume on DMD tables

An alphabetical listing of VPM emulated tables with their MPU and links to their specific replay level, balls per game and volume adjustment procedures can be downloaded as an Excel spreadsheet from this link:

Excel Spreadsheet of VPM emulated tables