(Can I record the music or sounds from the game?)
Line 7: Line 7:
 
If you'd like to record specific sound effects on their own, you can use other programs such as [http://www.emuhype.com/index.phtml?s=misc&ss=index M1], which is a sound playback program that supports many of the same games that MAME does.
 
If you'd like to record specific sound effects on their own, you can use other programs such as [http://www.emuhype.com/index.phtml?s=misc&ss=index M1], which is a sound playback program that supports many of the same games that MAME does.
  
==I don't get an error message, but I can't get sound or music.==
+
==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.

Revision as of 00:47, 6 August 2007

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.