AdvanceMAME Audio not working in some games - Overflow (not sample related)
-
@mikemolang I am getting audio from all of the vector games I use with AdvMAME. This includes games with and without samples. Your examples are without. You might want to try posting your .rc file contents to Pastebin.com and link to it. I could compare audio device settings with my own .rc file.
Are you getting ANY games in AdvanceMAME with audio?
-
@caver01 It might be worth verifying your settings for these lines which are present in my .rc file:
device_alsa_device default device_alsa_mixer channel device_sdl_samples 512 device_sound alsa sound_adjust 0 sound_equalizer_highvolume 0 sound_equalizer_lowvolume 0 sound_equalizer_midvolume 0 sound_latency 0.05 sound_mode auto sound_normalize no sound_samplerate 44100 sound_samples yes sound_volume 0
-
I checked my advancemame rc file. The only two differences I found (which I have since changed to yours) is:
sound_adjust 0 (mine was AUTO)
sound_volume 0 (mine was -3)I do get sound in Asteroids (not Deluxe Asteroids, though), and Space Fury.
MML
-
@mikemolang Odd. At this point, we could start to compare ROM details. You should have a .106 ROM, so pick one that has no sound and we can compare. I don't have problems with any.
-
@caver01 said in AdvanceMAME Audio not working in some games - Overflow (not sample related):
details. You should have a .106 ROM, so pick one that has no sound and we can compare. I don't
OK. Just now did a completely clean install. I then loaded Asteroids and Tempest into AdvanceMAME using 106 roms. Asteroids worked, Tempest did not, as I expected.
I deleted the Tempest.zip and restarted the Pi. I then loaded Tempest into AdvanceMAME using 139 roms. Asteroids worked, Tempest did not, as I expected.
I have included the directory listings of the two Tempest.zip files, below:
Tempest 106
10/27/2017 07:36 PM <DIR> .
10/27/2017 07:36 PM <DIR> ..
10/27/2017 07:35 PM 2,048 136002.113
10/27/2017 07:35 PM 2,048 136002.114
10/27/2017 07:35 PM 2,048 136002.115
10/27/2017 07:35 PM 2,048 136002.118
10/27/2017 07:35 PM 2,048 136002.119
10/27/2017 07:35 PM 2,048 136002.120
10/27/2017 07:35 PM 2,048 136002.121
10/27/2017 07:35 PM 2,048 136002.123
10/27/2017 07:35 PM 2,048 136002.124
10/27/2017 07:35 PM 2,048 136002.217
10/27/2017 07:35 PM 2,048 136002.222
10/27/2017 07:35 PM 2,048 136002.316
10/27/2017 07:36 PM 0 print.txt
13 File(s) 24,576 bytesTempest 139
10/27/2017 07:28 PM <DIR> .
10/27/2017 07:28 PM <DIR> ..
10/27/2017 07:24 PM 2,048 136002-113.d1
10/27/2017 07:24 PM 2,048 136002-114.e1
10/27/2017 07:24 PM 2,048 136002-115.f1
10/27/2017 07:24 PM 2,048 136002-118.k1
10/27/2017 07:24 PM 2,048 136002-119.lm1
10/27/2017 07:24 PM 2,048 136002-120.mn1
10/27/2017 07:24 PM 2,048 136002-121.p1
10/27/2017 07:24 PM 2,048 136002-123.np3
10/27/2017 07:24 PM 2,048 136002-124.r3
10/27/2017 07:24 PM 256 136002-125.d7
10/27/2017 07:24 PM 2,048 136002-217.j1
10/27/2017 07:24 PM 2,048 136002-222.r1
10/27/2017 07:24 PM 2,048 136002-316.h1
10/27/2017 07:24 PM 32 136002.126
10/27/2017 07:24 PM 256 136002.127
10/27/2017 07:24 PM 256 136002.128
10/27/2017 07:24 PM 256 136002.129
10/27/2017 07:24 PM 256 136002.130
10/27/2017 07:24 PM 256 136002.131
10/27/2017 07:24 PM 256 136002.132
10/27/2017 07:28 PM 0 print.txt
10/27/2017 07:27 PM 131 tempest
22 File(s) 26,531 bytesThanks,
MML -
@mikemolang I am using .106 and my tempest does not have a print.txt file inside the zip. I don't know why that would matter, as all of the rest are the same files and sizes.
Do you happen to have anything in your .rc file with a
tempest/
prefix? -
Here are the two "tempest" entries in my advmame.rc file:
tempest/sound_adjust 25
tempest/input_setting[p1_dialx] keydelta:20,centerdelta:20,sensitivity:10,reverse:0On some previous exploration I made of the various menus, I recall seeing sound setting such as PCM, HDMI, AUTO, MASTER (or something like that. I may have some of them wrong). Is there some chance that some of these games are configured to default to the wrong audio mode?
My hardware includes a Pi 3b hooked up via HDMI to a BENBQ monitor.
Thanks!
MML -
PROGRESS!!!
While wandering through various menus and trying different things I discovered that making a change to the equalizer settings (via TAB to the in game menu, Audio) can cause Tempest to emit sound under advmame for the first time , for me!
The standard equalizer settings (for me) are (0,0,0).
Testing shows that if I set the equalizer 'for this game only' to any of these settings, I get audio!
- (2,0,0)
- (0,2,0)
- (2,2,2)
I have not tested other settings yet, but my guess is that changing that at least one value to something other than 0 will work. I have not tested with any other game, nor with making the change at the 'for all games' level.
So, while this seems to get me back up and running (time to set up all my roms!), I still would like to know what I did differently, or what is it about my setup that caused this issue for me, but not for others.
Best,
MML -
@mikemolang good news, and I am glad you are making progress, as I was at a loss. I remember turning off stuff like normalization long ago, as it was causing weird crackling in the audio. Consequently, I don’t do anything with EQ or volume/gain. Just stock, and the rest of the settings I mentioned earlier.
-
I had the same problems using a USB sound card.
It worked everywhere except in advmame
I fixed this on two different retropi images using this process:
edit the advmame.rc
delete these lines:
device_alsa_device default
device_alsa_mixer channel
device_sound alsaAfter that it magically started working :)
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.