Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news


  

Author Topic: Audio problems MAME and SNES  (Read 609 times)

0 Members and 1 Guest are viewing this topic.

standard

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • I want to build my own arcade controls!
Audio problems MAME and SNES
« on: June 25, 2017, 05:30:29 pm »
Raspberry Pi 2 Model B 1Gb
Retropie v4.2
PC monitor DVI>HDMI (No speaker on monitor)
USB speaker/soundbar

No sound coming through USB speaker/soundbar on MAME or SNES games.

I have since created a file named "alsa-base.conf" with the following text Saved in the following directory:
etc/modprobe.d/

# This sets the index value of the cards but doesn't reorder.
options snd_usb_audio index=0   
options snd_bcm2835 index=1

# Does the reordering.
options snd slots=snd_usb_audio,snd_bcm2835


Which resulted in the sound playing on the SNES games only, the MAME games do not load they just return to menu


How do I get the MAME game sounds to work too please?

ark_ader

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5344
  • Present for you Grandfather...
Re: Audio problems MAME and SNES
« Reply #1 on: June 26, 2017, 12:07:26 pm »
Weird.  Reinstall OS?
"I really do feel pity for those who go out of their way to perform a personal slight, than taking the effort in joining the conversation and creating some useful dialogue which would benefit the persons' perusal of this topic.  Yet where would we be without the persistant antagonist?"

standard

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • I want to build my own arcade controls!
Re: Audio problems MAME and SNES
« Reply #2 on: June 26, 2017, 02:58:17 pm »
I have reinstalled the OS and still have the same problem. Sound working on SNES but the MAME games now don't load.
If I switch back to bcm2835 all games run but no sound.

Could it be that my Raspberry Pi 2 Model B is too old and need to update it to fix the sound problem or is there a fix for Raspberry Pi 2 Model B?

Please note: Using a TV connected via HDMI I don't have any sound issues.
It's only when I use a monitor and a USB sound bar.
« Last Edit: June 26, 2017, 03:00:53 pm by standard »

ark_ader

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5344
  • Present for you Grandfather...
Re: Audio problems MAME and SNES
« Reply #3 on: June 28, 2017, 03:13:12 pm »
Does this behave same with a vanilla x86 PC?
"I really do feel pity for those who go out of their way to perform a personal slight, than taking the effort in joining the conversation and creating some useful dialogue which would benefit the persons' perusal of this topic.  Yet where would we be without the persistant antagonist?"

DaOld Man

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4457
  • I dont get no respect.
    • Skenny's Outpost
Re: Audio problems MAME and SNES
« Reply #4 on: June 28, 2017, 05:48:08 pm »
Have you checked the settings in asoundrc?

sudo nano ~/.asoundrc

standard

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • I want to build my own arcade controls!
Re: Audio problems MAME and SNES
« Reply #5 on: June 29, 2017, 01:12:59 pm »
Have you checked the settings in asoundrc?

sudo nano ~/.asoundrc

Hello thank for this DaOld Man,
I typed this in and nothing shows up. No file settings or anything listed on screen.
I've attached an image to show you what I see.

If you can't read the title bar in the image it reads:
GNU nano 2.2.6                          File: /home/pi/.asoundrc



best regards

DaOld Man

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4457
  • I dont get no respect.
    • Skenny's Outpost
Re: Audio problems MAME and SNES
« Reply #6 on: June 29, 2017, 05:56:51 pm »
Hmmm..
the blank screen means that the file dont exist.
You can try typing the commands in on that screen then saving it as ~/.asoundrc.
Not sure if that would work, if it dont you can delete the file later.
Heres what I have in mine.
Your device number might be different, mine is 0. yours may be 1

standard

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • I want to build my own arcade controls!
Re: Audio problems MAME and SNES
« Reply #7 on: June 30, 2017, 11:13:40 am »
Hmmm..
the blank screen means that the file dont exist.
You can try typing the commands in on that screen then saving it as ~/.asoundrc.
Not sure if that would work, if it dont you can delete the file later.
Heres what I have in mine.
Your device number might be different, mine is 0. yours may be 1

Ok added the file
.asoundrc to the directory
and see what you see on your image but have changed the card number to 1.

Still no joy the MAME games they don't run and just return back to the list of games.
My SNES games work well with sound.


For anybody else who wants to help figure out the solution to the problem this is my current hardware set up:

Raspberry Pi 2 Model B (Using a power adapter)
RetroPie v4.2
NEC Multisync LCD 1770 NX (Monitor)
USB Powered mini speaker
and Zero Delay USB Arcade controls

ark_ader

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5344
  • Present for you Grandfather...
Re: Audio problems MAME and SNES
« Reply #8 on: July 01, 2017, 04:40:42 pm »
You are using at least 2A powered hub with those external USB devices right? 

The Pi's power adapter is 2A too?
"I really do feel pity for those who go out of their way to perform a personal slight, than taking the effort in joining the conversation and creating some useful dialogue which would benefit the persons' perusal of this topic.  Yet where would we be without the persistant antagonist?"

  
 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31