Can I switch soundcards on a per emulator basis?

Home Forums RetroPie Project Everything else related to the RetroPie Project Can I switch soundcards on a per emulator basis?

This topic contains 10 replies, has 3 voices, and was last updated by Profile photo of karloss karloss 3 years ago.

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #6827
    Profile photo of IIeBoy
    IIeBoy
    Participant

    I have connected a USB soundcard to the original speaker inside an Apple //e case. It works! But I want sound to go through that USB device only when I run LinApple (the Apple //e emulator).

    Q: Is there a way to change the sound output device on the fly, when loading each emulator?

    Currently I have set the system to use the USB device (the Apple speaker) system-wide, by changing the following as specified at https://learn.adafruit.com/usb-audio-cards-with-a-raspberry-pi/updating-alsa-config

    sudo nano /etc/modprobe.d/alsa-base.conf

    options snd-usb-audio index=0
    But I’d like to use the main sound device (HDMI output) for the rest of the system and the other emulators. Ideas welcomed!

    Background: The sound quality is horribly glitchy in LinApple. But I have made an Apple Piie using an Apple //e case, including its speaker. For //e emulation, my aim is to connect the sound card output to the existing Apple //e speaker. I’m told by the dev of LinApple that using a USB sound card fixes the glitchy sound provided by the Pi.

    Thanks!

    IIeBoy

    #7204
    Profile photo of IIeBoy
    IIeBoy
    Participant

    *bump*

    Thanks!

    IIeBoy

    #7211
    Profile photo of karloss
    karloss
    Participant

    can i ask why you only want to use it for that emulator, sound via headphone jack is shite on all the emulators, not just that one…and a usb soundcard is the only want to fix it…

    #7218
    Profile photo of IIeBoy
    IIeBoy
    Participant

    I have OK sound on all the other emulators. LinApple was the only one where it seriously popped and crackled. Hope this helps you answer my original question? Thanks.

    Thanks!

    IIeBoy

    #7227
    Profile photo of karloss
    karloss
    Participant

    ok, well as far as im aware, this cannot be done without a reboot, maybe trying playing about and making the change then restarting the alsa process, that may make the change..

    though I still don’t see why you need to change, just used the external soundcard all the time..

    #7228
    Profile photo of trimmtrabb
    trimmtrabb
    Participant

    what’s the performance like with usb audio?

    If you have found the solution to your problem please mark the topic as resolved.

    #7231
    Profile photo of IIeBoy
    IIeBoy
    Participant

    I wanted to switch because the quality of the Apple //e speaker is horribly bad for emulators like MAME which I’d rather go through HDMI sound, but it’s beautifully bad when emulating the actual Apple //e ๐Ÿ˜‰

    The quality of the USB sound card sadly only improves the actual audio quality a tiny bit. Not even 10%. I wouldn’t bother frankly โ€“ I just wanted the option. Mind you the sound card was under $5 on Amazon ๐Ÿ˜€

    I am disappointed with so many aspects of Pi emulation that I’m now working towards replacing it with a Wii running Homebrew Channel and their emulators instead. ๐Ÿ™

    Thanks!

    IIeBoy

    #7275
    Profile photo of karloss
    karloss
    Participant

    I completely disagree with this, the usb sound card completely removes all the distortion and feedback experienced via the standard phono from the pi…if I was you I would replace the speaker in the Apple..

    no performance hits with usb audio.

    #7276
    Profile photo of trimmtrabb
    trimmtrabb
    Participant

    which usb audio are you using Karloss?

    If you have found the solution to your problem please mark the topic as resolved.

    #7287
    Profile photo of IIeBoy
    IIeBoy
    Participant

    Karloss, it’s not about agreeing or “completely disagree”ing, it’s different setups, different equipment, different emulators.

    It’s just a fact that with my USB sound device, the sound is still appalling through LinApple only.

    You may be using a different emulator, or different USB device.

    Trust me the Apple speaker is fine, it plays test MP3s through the Pi surprisingly well.

    Thanks for your input.

    Thanks!

    IIeBoy

    #7306
    Profile photo of karloss
    karloss
    Participant
Viewing 11 posts - 1 through 11 (of 11 total)

Forums are currently read only - please visit the new RetroPie forums at https://retropie.org.uk/forums/

Skip to toolbar