RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    How To Add Background MUSIC In Just 5 Commands!

    Scheduled Pinned Locked Moved Projects and Themes
    backgroundmusicretropie
    17 Posts 12 Posters 11.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.
    • C
      chieferebus
      last edited by

      Just a heads up for people who are using a vertical screen setup through the Pi. This, unfortunately, broke the code and defaulted my screen to horizontal. I'd recommend backing up first before attempting this. There could be a way to revert the changes through the code, but for my case I'm just going to look up other alternatives.

      1 Reply Last reply Reply Quote 0
      • ExarKunIvE ExarKunIv referenced this topic on
      • T
        Turrican2k @installtekz
        last edited by

        Unfortunately this link is offline.

        1 Reply Last reply Reply Quote 0
        • ClassicGMRC
          ClassicGMR @installtekz
          last edited by

          @installtekz said in How To Add Background MUSIC In Just 5 Commands!:

          https://installtekz.com/how-to-add-music-to-retropie-on-a-raspberry-pi/

          @Turrican2k said in How To Add Background MUSIC In Just 5 Commands!:

          Unfortunately this link is offline.

          I just tried it. It seems to be up.

          Growing older is mandatory. Growing up is optional!
          Enjoy the ride!

          1 Reply Last reply Reply Quote 0
          • G
            Georodin 0
            last edited by Georodin 0

            EDIT
            I fixed it, the runcommand-onstart.sh was somehow missing and then when I recreated it, I accidently used Windows EOL. So I did chmod +x and change to unix EOL. Works again :)
            EDIT-END

            Hey guys,
            I have the problem that the music wont stop anymore when starting a game.
            I also recognized that I only had the runcommand-onstart.sh.orig but the runcommand-onstart.sh was misssing in /opt/retropie/configs/all/.
            So I created it again. But how and where is the runcommand-onstart.sh called? So maybe there lies the problem.

            Anyway thanks in advance :)

            1 Reply Last reply Reply Quote 0
            • V
              vXDclutch
              last edited by

              I had setup this earlier
              Now I want to remove this , how do I ?

              S 1 Reply Last reply Reply Quote 0
              • S
                sleve_mcdichael @vXDclutch
                last edited by sleve_mcdichael

                @vXDclutch it looks like you're meant to run the script and select "(U)ndo changes". This will attempt to restore the original autostart & runcommand scripts, the original retropiemenu entries, and remove the music scriptfiles and directories.

                1 Reply Last reply Reply Quote 0
                • W
                  wtstreetglow1
                  last edited by

                  @installtekz This all works great!!! Thank you all for your sharing and how to mod, @RapidEdwin08, to the original submission/ idea!!

                  S 1 Reply Last reply Reply Quote 0
                  • W wtstreetglow1 referenced this topic on
                  • S
                    StuMcBill @wtstreetglow1
                    last edited by

                    @wtstreetglow1

                    I’ve just installed this and it’s working great. One question I have is, is it possible to control the volume of this?

                    I’ve put in an mp3 of ambient arcade sounds, and it’s very loud compared to my actual game.

                    I’d like to drop the background volume, and boost the in game volume if possible?

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

                      @StuMcBill probably not for this one. I know others allow you too.

                      I didn't like that lack of abilitys in this one. So I stopped using it.

                      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 .

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        StuMcBill @ExarKunIv
                        last edited by

                        @ExarKunIv said in How To Add Background MUSIC In Just 5 Commands!:

                        @StuMcBill probably not for this one. I know others allow you too.

                        I didn't like that lack of abilitys in this one. So I stopped using it.

                        Could you point me in the direction of ones that have the ability?

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

                          @StuMcBill

                          https://retropie.org.uk/forum/topic/31580/suggestions-for-ports-2?_=1700767814325

                          My first post has a list of all the different ones that work

                          https://github.com/Exarkuniv/RetroPie_BGM_Player

                          Is the one that I have used and it has good options. I believe volume is one of them.

                          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 .

                          S W 2 Replies Last reply Reply Quote 0
                          • S
                            StuMcBill @ExarKunIv
                            last edited by

                            @ExarKunIv said in How To Add Background MUSIC In Just 5 Commands!:

                            @StuMcBill

                            https://retropie.org.uk/forum/topic/31580/suggestions-for-ports-2?_=1700767814325

                            My first post has a list of all the different ones that work

                            https://github.com/Exarkuniv/RetroPie_BGM_Player

                            Is the one that I have used and it has good options. I believe volume is one of them.

                            Nice one, thanks!

                            1 Reply Last reply Reply Quote 0
                            • W
                              wtstreetglow1 @ExarKunIv
                              last edited by

                              @ExarKunIv Thank you for this post!! Agreed about the lack of volume control!

                              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.