RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    How do I get sound effects working on Emulation Station on x86.

    Scheduled Pinned Locked Moved Help and Support
    emulatorstation
    14 Posts 2 Posters 1.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • mituM
      mitu Global Moderator
      last edited by mitu

      What are your settings for Audio in EmulationStation ? This is where you can set the audio card/device used for sound.

      Can you also run

      amixer -l
      amixer
      

      and post the output ?

      What theme are you using ? Not all themes have sounds enabled or sound effects added.

      zombie_ryushuZ 1 Reply Last reply Reply Quote 0
      • zombie_ryushuZ
        zombie_ryushu @mitu
        last edited by

        @mitu said in How do I get sound effects working on Emulation Station on x86.:

        amixer

        Simple mixer control 'Master',0
        Capabilities: pvolume pswitch pswitch-joined
        Playback channels: Front Left - Front Right
        Limits: Playback 0 - 65536
        Mono:
        Front Left: Playback 51118 [78%] [on]
        Front Right: Playback 51118 [78%] [on]
        Simple mixer control 'Capture',0
        Capabilities: cvolume cvolume-joined cswitch cswitch-joined
        Capture channels: Mono
        Limits: Capture 0 - 65536
        Mono: Capture 65536 [100%] [on]

        My theme is called 'WahCade' and its a custom theme I did myself I can upload.
        Sorry I forgot about this thread for a month.

        zombie_ryushuZ 1 Reply Last reply Reply Quote 0
        • zombie_ryushuZ
          zombie_ryushu @zombie_ryushu
          last edited by

          @zombie_ryushu I can get zip up my theme.

          1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator
            last edited by

            If you set Audio Card to default and Audio Device to Master, you should get audio from EmulationStation. You can try with the default theme and see if sounds work.
            If they don't work for your theme only, then check the paths to the sound files that you added in the theme and make sure the filenames are correct- Linux filesystems are case sensitive so make sure the audio files are correctly named.

            zombie_ryushuZ 1 Reply Last reply Reply Quote 0
            • zombie_ryushuZ
              zombie_ryushu @mitu
              last edited by

              @mitu I have done that, where can I upload my theme? No setting I seem to try seems to work.

              mituM 1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator @zombie_ryushu
                last edited by mitu

                @zombie_ryushu I don't know, any file sharing site ? Or, if you have a project on Github/Gitlab/etc, provide the link to the repository ?

                zombie_ryushuZ 1 Reply Last reply Reply Quote 0
                • zombie_ryushuZ
                  zombie_ryushu @mitu
                  last edited by zombie_ryushu

                  @mitu Good idea.
                  I created a github Repo.
                  https://github.com/Zombie-Ryushu/emulationstation-wahcade-theme

                  1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator
                    last edited by mitu

                    You've added the scrollSound option just for the Basic style gamelist - it works there if the audio settings are correct. If you're using the Automatic view style and have details for the ROMs, then the Basic view is not used and instead the Detailed/Video view is used.

                    BTW, Github complains you've got some 'hidden' Unicode chars on line 67 of wahcade.xml, and although ES doesn't complain, it may cause issues.

                    zombie_ryushuZ 1 Reply Last reply Reply Quote 0
                    • zombie_ryushuZ
                      zombie_ryushu @mitu
                      last edited by

                      @mitu
                      What changes do you suggest I should make to get my sound effects working?

                      mituM 1 Reply Last reply Reply Quote 0
                      • mituM
                        mitu Global Moderator @zombie_ryushu
                        last edited by

                        @zombie_ryushu Add the scrolling sound element to the other gamelist view types (detailed/video).

                        zombie_ryushuZ 1 Reply Last reply Reply Quote 0
                        • zombie_ryushuZ
                          zombie_ryushu @mitu
                          last edited by

                          @mitu Can you give me a syntax example?

                          mituM 1 Reply Last reply Reply Quote 0
                          • mituM
                            mitu Global Moderator @zombie_ryushu
                            last edited by mitu

                            You can look in your own theme on how to use the scrollSound element, from wahcade.xml:

                            <textlist name="gamelist">
                            			<pos>0.1234375 0.245833</pos>
                            			<size>0.75 0.633333</size>
                            			<alignment>center</alignment>
                            			<horizontalMargin>0.01</horizontalMargin>
                            			<fontPath>./art/font.ttf</fontPath>
                            			<fontSize>0.045</fontSize>
                            			<selectorColor>000044</selectorColor>
                            			<selectedColor>ffffff</selectedColor>
                            			<primaryColor>909090</primaryColor>
                            			<secondaryColor>f0f0f0</secondaryColor>
                            			<forceUppercase>0</forceUppercase>
                            			<scrollSound>./sounds/21H.wav</scrollSound>
                            		</textlist>
                            

                            The default Carbon theme definition is also a good example.

                            zombie_ryushuZ 1 Reply Last reply Reply Quote 0
                            • zombie_ryushuZ
                              zombie_ryushu @mitu
                              last edited by

                              @mitu Excellent News! It's working! Now all I need to do is Source the Sound effects from:
                              [link text]

                              1 Reply Last reply Reply Quote 0
                              • First post
                                Last post

                              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.