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

    Background Music [Continued from Help/Support]

    Scheduled Pinned Locked Moved General Discussion and Gaming
    musicbgm
    343 Posts 109 Posters 324.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.
    • N
      Nayin @Nayin
      last edited by

      @nayin said in Background Music [Continued from Help/Support]:

      I am trying to add the amiberry emulator without success.
      What is the exact name of "amiberry" to add in emulators line?
      Thx!

      Some help?

      BriganeB 1 Reply Last reply Reply Quote 0
      • BriganeB
        Brigane @Nayin
        last edited by

        @nayin How is this issue related to the topic "Background Music"?

        Systems: Raspberry Pi 0/2/3 Model B+
        Os: RetroPie 4.5
        Frontend: Emulationstation & Attract Mode

        N 1 Reply Last reply Reply Quote 0
        • N
          Nayin @Brigane
          last edited by

          @brigane

          Sorry, if I am not explained to me well.
          When I run amiberry emulator, the background music does not stop.

          1 Reply Last reply Reply Quote 0
          • cyperghostC
            cyperghost
            last edited by

            @Nayin How do you play your BGM - via mpg123 = @synack method
            or via phyton script?

            The Amiberry emulator, how do you start it? Via runcommand.sh? Means you see they grey loading box if you select a ROM?

            1 Reply Last reply Reply Quote 0
            • N
              Nayin
              last edited by Nayin

              @cyperghost said in Background Music [Continued from Help/Support]:

              @Nayin How do you play your BGM - via mpg123 = @synack method
              or via phyton script?

              The Amiberry emulator, how do you start it? Via runcommand.sh? Means you see they grey loading box if you select a ROM?

              Via phyton script, I start the emulator using emulationstation (WHDLoad Pack).

              cyperghostC 1 Reply Last reply Reply Quote 0
              • cyperghostC
                cyperghost @Nayin
                last edited by cyperghost

                @nayin My first suggestion is to edit python script and add emulatorname to it
                line 25 in https://pastebin.com/7E9JiZGQ

                You can check if emulator is running via SSH and ps -a command to get correct name. The mpg123 is better imho as it relies on runcommand ...

                N 1 Reply Last reply Reply Quote 0
                • N
                  Nayin @cyperghost
                  last edited by

                  @cyperghost

                  Thx! The correct name is amiberry.sh

                  1 Reply Last reply Reply Quote 0
                  • cyperghostC
                    cyperghost
                    last edited by cyperghost

                    That won't work as amiberry is a bash file.... start the emulator and use ps -a command to extract emuname it's 99% likely amiberry but not sure...

                    You need the name of the binary... Maybe if you edit the amiberry.sh you see binary call and add the name to the python script

                    1 Reply Last reply Reply Quote 0
                    • X
                      xXRedxSlugXx
                      last edited by

                      I understand this is a forum for Rasp Pi stuff but trust me I've searched far and wide for a solution.

                      Anybody have a clue on how to implement this into the windows version of emulation station?

                      I've tried doing it with running python on PC and attempting to edit some of the scripts but my knowledge of scripting is well frankly poor so yeah...

                      1 Reply Last reply Reply Quote 1
                      • N
                        numotiv
                        last edited by

                        Been a while since I have had time to tweak my retropie setup. Is there a way to stop the bgm when the screensaver begins? I have videos for all my games that randomly play.

                        1 Reply Last reply Reply Quote 0
                        • M
                          MicroMachineV5 @Livewire
                          last edited by

                          @livewire
                          wow, thank you so much, this works perfect for me. :)

                          1 Reply Last reply Reply Quote 0
                          • L
                            linkreincarnate
                            last edited by

                            I found a tutorial that allows you to use voice commands to play songs from youtube.

                            if you install python3-pip then it works great. You just tell google to play whatever you want to hear and it plays it from youtube. in the background.

                            It's not really easier than this because you have to install google assistant (which means setting up an oauth key) but if you can follow semi-technical walkthroughs you can do it and have remote storage of most songs.

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

                              Hi Im having a hard time getting this to run. I used all the same locations as you did, i used the latest script you wrote, put all the music which were ogg files in a music folder inside the roms folder, my file is called Test1.py, and placed inside PyScripts which is in /home/pi. I wrote out the rc.local line exactly as you did, including the quotes and &. The music just wont play, and im not getting any sort of error messages when i go back to the terminal. Whats even stranger about all of this, is Ive gotten this to work on other pies in the past, this time i did a fresh install of everything on a 128gb sd card, and the background music wont work (this is the first time ive tried to install it on retropie 4.3, and the first time i have video scraped roms) . But after updating one of my old pies, the background music still works on them. Is anyone else having trouble with this????

                              1 Reply Last reply Reply Quote 0
                              • COOL_IRONC
                                COOL_IRON
                                last edited by

                                Is it possible to create custom launch file for specific rom that will not disable music?

                                1 Reply Last reply Reply Quote 0
                                • M
                                  monstergubl
                                  last edited by

                                  hey guys i follow the easy way but i have one problem: my pi says the bgm folder already exsist but i cannot find the folder anywhere i tried over USB and Windows PC to copie my mp3, when i create the folder my pi says that he cannot create an exsisting folder

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    AnAssassinsBlade @Livewire
                                    last edited by

                                    @livewire so I Googled how to put background music on my retro pi. Well I get this error about one songs says it's not an Ogg file yet all the songs play it doesn't even tell me which song it is so I have no idea which one it could be you got any suggestions?

                                    ExarKunIvE 1 Reply Last reply Reply Quote 0
                                    • Z
                                      zerojay
                                      last edited by

                                      I've found that mpg123 will occasionally make my entire pi freeze when idle for a while so just in case you've been getting this like I have, kill mpg123 and see if it fixes your stability problems.

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

                                        @anassassinsblade
                                        that is odd, i have only mp3 in mine and i dont get any errors

                                        other then having to remove and put one song in at a time, i would say try a different format maybe

                                        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
                                        • M
                                          milleland @jman
                                          last edited by

                                          @jman Hi did you solved the problem with the music background while you run Daphne? Thanks a lot

                                          N 1 Reply Last reply Reply Quote 0
                                          • N
                                            Nayin @milleland
                                            last edited by

                                            @milleland Change the emulator name to: daphne.sh

                                            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.