FAQ:Audio: Difference between revisions

From MAMEDEV Wiki
No edit summary
No edit summary
Line 9: Line 9:
==What is the best output frequency to use?==
==What is the best output frequency to use?==
By default, MAME generates audio at 48000Hz. For most modern sound cards, this is the native sound rate and should produce the best results. Earlier sound cards tended to support 44100Hz as a different rate, so you can optionally try that if you're not happy with the sound quality.
By default, MAME generates audio at 48000Hz. For most modern sound cards, this is the native sound rate and should produce the best results. Earlier sound cards tended to support 44100Hz as a different rate, so you can optionally try that if you're not happy with the sound quality.
== Why do I get no sound? ==
Try the Following:
* Make sure your speakers are turned on and the volume turned up
* Make sure your sound card drivers are installed properly.  For this, follow the directions that came with your sound card and/or motherboard (in the case of on-board sound)
* Open the Volume Control (Start -> All Programs -> Accessories -> Entertainment -> Volume Control) and make sure your Master and Wave controls are both turned up and not muted.
* Not all games have sound support in MAME.  Make sure the game you are playing has sound emulation
* Some games in MAME have options for disabling some sound, or reducing the volume.  Try pressing Tab and choose "Dip Switches" or press F2 for service mode and see if there are options for sound.

Revision as of 03:20, 17 January 2008

Return to the main Frequently Asked Questions page.

Can I record the music or sounds from the game?

Yes. If you just want to record the sound effects and music from a session of playing the game in MAME, you can use the -wavwrite parameter, like so:

mame <gamename> -wavwrite <filename>

If you'd like to record specific sound effects on their own, you can use other programs such as M1, which is a sound playback program that supports many of the same games that MAME does.

What is the best output frequency to use?

By default, MAME generates audio at 48000Hz. For most modern sound cards, this is the native sound rate and should produce the best results. Earlier sound cards tended to support 44100Hz as a different rate, so you can optionally try that if you're not happy with the sound quality.

Why do I get no sound?

Try the Following:

  • Make sure your speakers are turned on and the volume turned up
  • Make sure your sound card drivers are installed properly. For this, follow the directions that came with your sound card and/or motherboard (in the case of on-board sound)
  • Open the Volume Control (Start -> All Programs -> Accessories -> Entertainment -> Volume Control) and make sure your Master and Wave controls are both turned up and not muted.
  • Not all games have sound support in MAME. Make sure the game you are playing has sound emulation
  • Some games in MAME have options for disabling some sound, or reducing the volume. Try pressing Tab and choose "Dip Switches" or press F2 for service mode and see if there are options for sound.