FAQ:Audio: Difference between revisions
Line 5: | Line 5: | ||
mame <gamename> -wavwrite <filename> | mame <gamename> -wavwrite <filename> | ||
If you'd like to record specific sound effects on their own, you can use other programs such as [http:// | If you'd like to record specific sound effects on their own, you can use other programs such as [http://rbelmont.mameworld.info/?page_id=223 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?== | ==What is the best output frequency to use?== |
Revision as of 02:20, 25 November 2014
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.
- The sound for some games only occurs after a game is started (silent attract mode).
Why is the sound skipping or being choppy? How do I fix it?
There are two different groups of causes: video-audio sync problems, and not enough CPU speed.
The video-audio sync problems most often occur on systems with LCD monitors, but can happen on all systems. The usual cause is the original game ran video at something other than 60 Hz, while the LCD is. With Mame's default settings, this can lead to skipping or choppy sound. There are a few solutions:
- Enable -refreshspeed. This causes mame to run not quite the correct speed for most games, though.
- Set the correct -speed value. This will vary game to game, and enabling -refreshspeed should set this correctly. If it does not, you can hand set it instead with this option.
- Disable -waitvsync, -syncrefresh, and -triplebuffer. (This is the default settings.)
- Get a monitor that can switch resolutions, and a video card + driver that can display at the original games' refresh rates, and enable -switchres.
The not enough CPU speed is due to the computer not having enough computing power to emulate the game at full speed, and bad sound can be one of the first symptoms.
- The best answer it to get a faster CPU. However, since this is the most expensive, you might want to check if the other solutions help or not before doing this.
- Increase -audio_latency.
- Decrease -samplerate.
- Any of the other Performance hints.