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

    RetroPie: A music script that works without disrupting Home Consoles, Handhelds and Ports?

    Scheduled Pinned Locked Moved Help and Support
    musicretropiemenuretropie
    18 Posts 5 Posters 6.3k 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.
    • A
      Allanbuzzy
      last edited by

      So the reason I am making this is because there was a music script I had. It allowed you to have music and it faded when you played any game, but with Ports and menus, the music hadn't stopped at all, it kept going on. It ruined the games I played, so is there a script that doesn't disrupt Ports and setups?

      System: Pi 3
      Power Supply: 2.5V
      Version: 4.2
      Other: USB used for ROMs, ROMs disappear when disconnected.

      "What do you play games on?"
      "A LEGO brick."
      "LEGO What?

      ExarKunIvE 1 Reply Last reply Reply Quote 0
      • ExarKunIvE
        ExarKunIv @Allanbuzzy
        last edited by

        @Allanbuzzy

        what script are you running. IE where did you find it.

        the two that are here are

        https://retropie.org.uk/forum/topic/347/background-music-continued-from-help-support

        https://retropie.org.uk/forum/topic/9133/quick-and-easy-guide-for-adding-music-to-emulatonstation-on-retropie-noob-friendly

        RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
        RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
        Maintainer of RetroPie-Extra .

        A 1 Reply Last reply Reply Quote 0
        • A
          Allanbuzzy @ExarKunIv
          last edited by

          @ExarKunIv said in RetroPie: A music script that works without disrupting Home Consoles, Handhelds and Ports?:

          https://retropie.org.uk/forum/topic/347/background-music-continued-from-help-support

          I used this guys tutorial:

          "What do you play games on?"
          "A LEGO brick."
          "LEGO What?

          ExarKunIvE 1 Reply Last reply Reply Quote 0
          • ExarKunIvE
            ExarKunIv @Allanbuzzy
            last edited by

            @Allanbuzzy

            ok there are two things that you can do here.

            one edit the list that is in the script that you are running so it sees the game that it is not stopping for.

            #TODO: Fill in all of the current RetroPie Emulator process names in this list.
            emulatornames = ["sdlpop","drastic","retroarch","supertux","ags","uae4all2","uae4arm","capricerpi","linapple","stella","hurrican","vice","pifba","osmose","gpsp","jzintv","basiliskll","cavestory","dgen","openmsx","mupen64plus","gngeo","dosbox","ppsspp","simcoupe","scummvm","snes9x","pisnes","frotz","fbzx","fuse","gemrb","cgenesis","zdoom","eduke32","love","alephone","openbor","openttd","opentyrian","cannonball","tyrquake","ioquake3","residualvm","xrick","uqm","stratagus","chocolate-doom","wolf4sdl-spear","solarus","rott","wolf4sdl-gt-v14","wolf4sdl","wolf3d","wolf4sdl-sw-v14","Wolfenstein 3D","drastic","supertux","heboris","breaker","freedink","openblok","pingus"]
            

            is what the script that you are using looks like. you will need to find out what the port you are playing is called when the system calls it so you can add it to the list.

            or

            use a different script
            https://retropie.org.uk/forum/topic/9133/quick-and-easy-guide-for-adding-music-to-emulatonstation-on-retropie-noob-friendly

            the link above it for the different script.

            RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
            RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
            Maintainer of RetroPie-Extra .

            1 Reply Last reply Reply Quote 0
            • A
              Allanbuzzy
              last edited by

              Well, thanks, that's very helpful. I also want to change the sound when you move options, like the PSP. Carbon has this feature, and I want the sound to be better.

              "What do you play games on?"
              "A LEGO brick."
              "LEGO What?

              ExarKunIvE 1 Reply Last reply Reply Quote 0
              • ExarKunIvE
                ExarKunIv @Allanbuzzy
                last edited by

                @Allanbuzzy

                that part i dont know how to help, so best of luck.
                maybe someone else can point you in the right direction.

                RPi3B+ / 200GB/ RetroPie v4.5.14, RPi4 Model B 4gb / 256gb / RetroPie 4.8.2
                RPi5 4gb / 512gb / RetroPie 4.8.9 -Basic
                Maintainer of RetroPie-Extra .

                A 1 Reply Last reply Reply Quote 0
                • A
                  Allanbuzzy @ExarKunIv
                  last edited by

                  @ExarKunIv said in RetroPie: A music script that works without disrupting Home Consoles, Handhelds and Ports?:

                  @Allanbuzzy

                  that part i dont know how to help, so best of luck.
                  maybe someone else can point you in the right direction.

                  Ok, the Github page of Carbon allows custom sounds. The problem is that I have no clue how I will be able to add custom sounds. Unless...

                  "What do you play games on?"
                  "A LEGO brick."
                  "LEGO What?

                  1 Reply Last reply Reply Quote 0
                  • B
                    backstander
                    last edited by backstander

                    Here, @Nismo talks about adding custom sounds to a theme:
                    https://retropie.org.uk/forum/post/66038

                    And here @lilbud gives a couple examples of sounds to use:
                    https://retropie.org.uk/forum/post/66058

                    N 1 Reply Last reply Reply Quote 0
                    • N
                      Nismo @backstander
                      last edited by Nismo

                      @backstander

                      I'ts not the same to add background music, than adding sounds, but for sounds I have all of this working in my theme:

                      Example for sound when switching between systems (need a ES version that supports it):

                      <view name="system">
                      	
                           <sound name="systemSound">
                               <path>./art/systemsound.wav</path>
                           </sound>
                      </view>
                      

                      Example for gamelist scrolling sound (working in all ES versions):

                      <textlist name="gamelist">
                      
                      	<scrollSound>./art/listscroll.wav</scrollSound>
                      </textlist>
                      

                      Example for launching game sound (working in all ES versions)

                       <view name="basic, detailed, grid, video">
                      	<sound name="launch">
                      		<path>./art/launch.wav</path>
                      	</sound>
                      </view>
                      

                      As you can see it's pretty simple to add sounds... I hope this helps.

                      Regards.

                      A 1 Reply Last reply Reply Quote 1
                      • A
                        Allanbuzzy @Nismo
                        last edited by

                        @Nismo said in RetroPie: A music script that works without disrupting Home Consoles, Handhelds and Ports?:

                        @backstander

                        I'ts not the same to add background music, than adding sounds, but for sounds I have all of this working in my theme:

                        Example for sound when switching between systems (need a ES version that supports it):

                        <view name="system">
                        	
                             <sound name="systemSound">
                                 <path>./art/systemsound.wav</path>
                             </sound>
                        </view>
                        

                        Example for gamelist scrolling sound (working in all ES versions):

                        <textlist name="gamelist">
                        
                        	<scrollSound>./art/listscroll.wav</scrollSound>
                        </textlist>
                        

                        Example for launching game sound (working in all ES versions)

                         <view name="basic, detailed, grid, video">
                        	<sound name="launch">
                        		<path>./art/launch.wav</path>
                        	</sound>
                        </view>
                        

                        As you can see it's pretty simple to add sounds... I hope this helps.

                        Regards.

                        Thanks, I understand how to add sounds, but i'm not sure where I put my new .wav sound? I know it may look easy to some people, but I have no clue how. It needs to be easy to access on my computer (Mac) so that I can conveniently put my audio files without needing to use a command prompt to get it there.

                        "What do you play games on?"
                        "A LEGO brick."
                        "LEGO What?

                        N B 2 Replies Last reply Reply Quote 0
                        • N
                          Nismo @Allanbuzzy
                          last edited by

                          @Allanbuzzy

                          For example in this case:

                          <textlist name="gamelist">
                          
                          	<scrollSound>./art/listscroll.wav</scrollSound>
                          </textlist>
                          

                          The wav sound it's inside YourThemeNameFolder/art/

                          You can place it whatever you want for example:

                          <scrollSound>./sounds/listscroll.wav</scrollSound>
                          
                          

                          The wav file must be inside YourThemeNameFolder/sounds/

                          1 Reply Last reply Reply Quote 0
                          • B
                            backstander @Allanbuzzy
                            last edited by

                            @Allanbuzzy
                            There's 2 places you can have themes installed to:

                            A global location
                            /etc/emulationstation/themes/

                            A local user location
                            ~/.emulationstation/themes/

                            An example using the Carbon Theme of where an audio file is located
                            /etc/emulationstation/themes/art/systemsound.wav

                            A 1 Reply Last reply Reply Quote 0
                            • A
                              Allanbuzzy @backstander
                              last edited by

                              @backstander said in RetroPie: A music script that works without disrupting Home Consoles, Handhelds and Ports?:

                              @Allanbuzzy
                              There's 2 places you can have themes installed to:

                              A global location
                              /etc/emulationstation/themes/

                              A local user location
                              ~/.emulationstation/themes/

                              An example using the Carbon Theme of where an audio file is located
                              /etc/emulationstation/themes/art/systemsound.wav

                              Yes, thanks for the folder locations, but the problem is that I use Samba shares, and everyone else uses Terminal. But it's not for the same reason. All I want to do is change some system sounds, that's it, nothing more, nothing less. I know, it's on the etc folder, and it's on root, but how do I access .root on Samba?

                              "What do you play games on?"
                              "A LEGO brick."
                              "LEGO What?

                              AlexMurphyA 1 Reply Last reply Reply Quote 0
                              • AlexMurphyA
                                AlexMurphy Banned @Allanbuzzy
                                last edited by

                                @Allanbuzzy you can't unless you add it to the smb.conf file. This is located at /etc/samba/smb.conf

                                1 Reply Last reply Reply Quote 0
                                • A
                                  Allanbuzzy
                                  last edited by Allanbuzzy

                                  Yes, okay so I have a launch.wav folder, as well as the carbon.xml text in my folder. I'm wondering however, I put my launch script sound at the bottom of carbon.xml, as well as my systemsound.wav, however I hear nothing. So what I did was that I put it in another place, which messed up the theme to basically just white background with text of the system. Does anyone know how to do this on the theme Carbon? Because I sure don't.

                                  EDIT: I did revert changes, I removed the launch and systemsound if you were wondering.

                                  "What do you play games on?"
                                  "A LEGO brick."
                                  "LEGO What?

                                  AlexMurphyA 1 Reply Last reply Reply Quote 0
                                  • AlexMurphyA
                                    AlexMurphy Banned @Allanbuzzy
                                    last edited by

                                    @Allanbuzzy Allan, don't get me wrong but... every post you make here you just comes across in the wrong way. Please learn how to ask for assistance from the community in a gracious way.

                                    A 1 Reply Last reply Reply Quote 0
                                    • A
                                      Allanbuzzy @AlexMurphy
                                      last edited by

                                      @AlexMurphy said in RetroPie: A music script that works without disrupting Home Consoles, Handhelds and Ports?:

                                      @Allanbuzzy Allan, don't get me wrong but... every post you make here you just comes across in the wrong way. Please learn how to ask for assistance from the community in a gracious way.

                                      Seriously, I came here for support alright? How do I add a launch.wav sound to RetroPie's Carbon theme? I have carbon.xml on, i'm not sure where to place it?

                                      "What do you play games on?"
                                      "A LEGO brick."
                                      "LEGO What?

                                      AlexMurphyA 1 Reply Last reply Reply Quote -1
                                      • AlexMurphyA
                                        AlexMurphy Banned @Allanbuzzy
                                        last edited by

                                        @Allanbuzzy Again with the bad attitude... I think you just proved my point.

                                        1 Reply Last reply Reply Quote 1
                                        • 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.