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 329.0k 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.
    • G
      gazzhally @ExarKunIv
      last edited by

      @ExarKunIv As I said, it was in the code already. Yet the music does not stop.

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

        @gazzhally

        ahhh

        it is possible that the emulator is not called vice when it starts. or it is one of the odd ones that will not stop. i have come across that with prince of persia.
        just like yours music will not stop.

        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 .

        G 1 Reply Last reply Reply Quote 0
        • G
          gazzhally @ExarKunIv
          last edited by

          @ExarKunIv I thought of that. Added all the different instances of vice (lr-vice64, etc) still no luck :(

          ExarKunIvE mitaholoM 2 Replies Last reply Reply Quote 0
          • ExarKunIvE
            ExarKunIv @gazzhally
            last edited by

            @gazzhally

            yea i think you have hit one that will not stop the music.

            well the other way that @synack posted works. just not has fancy

            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
            • T
              tmak
              last edited by

              Hi I'm hoping someone knows how to fix this:

              I installed background music on retropie 4.2 pi3 per drew talks youtube video:

              It works perfect and the music shuts down for every emulator when a game starts, except i just installed DraStic, and for some reason the music won't stop for any of the games using this emulator.

              Does anyone have a fix for this?

              Thanks,

              B ExarKunIvE M 3 Replies Last reply Reply Quote 0
              • B
                backstander @tmak
                last edited by backstander

                @tmak
                You need to edit the music.py script and add the DraStic emulator's process name to the list.

                I haven't tested this but I think this is what you need to do. Just add "drastic" to this list:

                #TODO: Fill in all of the current RetroPie Emulator process names in this list.
                emulatornames = ["drastic","retroarch","ags"............]
                

                BTW, do you know what the name is of the "royalty free" techno song that he used in his video?

                BriganeB T 2 Replies Last reply Reply Quote 0
                • BriganeB
                  Brigane @backstander
                  last edited by

                  @backstander

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

                  B 1 Reply Last reply Reply Quote 1
                  • ExarKunIvE
                    ExarKunIv @tmak
                    last edited by

                    @tmak

                    i have the same problem and so far it will not shut off.
                    I have added both DraStic and nds. the music still plays.

                    so sadly if NDS is wanted to be played @synack music player must be used.

                    untill someone can rework @Livewire version to just detect the same thing that @synack version looks far

                    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 .

                    B T 2 Replies Last reply Reply Quote 0
                    • B
                      backstander @Brigane
                      last edited by

                      @Brigane
                      Over lunch I played this song in my car...man it has some crazy bass! My wife was kind of embarrassed riding around with me blasting this song when we went to lunch together ;-)

                      BriganeB 1 Reply Last reply Reply Quote 1
                      • B
                        backstander @ExarKunIv
                        last edited by

                        @ExarKunIv
                        Just a note...make sure it is in all lowercase like "drastic"...also I'm not 100% sure that's what the process name is for DraStic. Whatever the actually process name is, that is what needs to be put in the script in the "emulatornames =" line.

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

                          @backstander lol, I think I would've driven around by myself to get the attention instead :D

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

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

                            @backstander

                            yep i know,
                            i have it both ways, for sh#t and giggles

                            and i checked the runcommand.log
                            the it comes up with nds and then drastic right after.

                            some games the music.py script does not see. so far i know of three

                            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 1
                            • T
                              tmak @backstander
                              last edited by

                              @backstander

                              Hey, thanks for the tip. I did exactly what you said added "drastic" As the very last name In the emulator name list in music.py and it works! :)
                              I used
                              Sudo mc to locate the file then
                              nano to edit it.

                              So far I have tried new super Mario world and surfs up, and the music shuts down.

                              Now I won't be keeping my gf up at 4am with that antikdote track hahaha.

                              My next issue, is for some reason the file doesn't save in New super Mario world. I gotta search through the forums for that.

                              1 Reply Last reply Reply Quote 1
                              • T
                                tmak @ExarKunIv
                                last edited by

                                @ExarKunIv

                                Hey, it worked for me. I'm using the latest Retro pie script. And latest version of drastic. Try that maybe.

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

                                  @ExarKunIv
                                  Maybe try added "drastic" as the very last emulator on the list like @tmak did?

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

                                    @backstander

                                    i know that im running 4.2.1 now, and i have "drastic" as the last one...but i don't think i updated the emulator. ill give that a shot

                                    EDIT
                                    ok weird it is now working. all i did was move "drastic" to be the first game in the list

                                    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
                                    • anasazi29A
                                      anasazi29 @dragon3gabriel
                                      last edited by

                                      @dragon3gabriel Hey man. There is alot to read with over 200 posts on this particular subject, but I was wondering if you found out how to get the BGM script to mute the sound when using the PPSSPP emulator? I did. In the script under emulators just put in "PPSSPPSDL" and reboot.
                                      The emulators execution is that name and causes the script to acknowledge and mute accordingly.

                                      Thanks,
                                      Anasazi

                                      T 1 Reply Last reply Reply Quote 0
                                      • R
                                        RaoulAngel
                                        last edited by

                                        So I am just seeing all this for the first time. I am putting together an NES classic styled project, that uses this script to play menu music, but I was wondering if there is a way to (from a menu or something) select the music playing as a choice. Some people might not want to have it. I am planning on giving these away at functions and meetings and stuff for people to enjoy, and trying to tweak the thing to make it as idiot-proof as possible. I would like to remove any configuration menus and such but also somehow give the user a way to toggle to menu music off if they choose.

                                        Any ideas?

                                        1 Reply Last reply Reply Quote 0
                                        • V
                                          vinnyl69 @Livewire
                                          last edited by

                                          @Livewire
                                          @Livewire

                                          re: Background Music [Continued from Help/Support] coolcv

                                          hello! the background music does not turn off when going into coolcv for colecovision games. i have read that sometimes emulators need to be added to the emulator list for this to work. can you give some guidance on finding this 'list'?? thanks!!

                                          B M 2 Replies Last reply Reply Quote 0
                                          • B
                                            backstander @vinnyl69
                                            last edited by backstander

                                            @vinnyl69
                                            https://retropie.org.uk/forum/post/68239
                                            You would need to edit your music.py script and add coolcv_pi (or whatever the emulator's process name is) to the "emulatornames" list:

                                            #TODO: Fill in all of the current RetroPie Emulator process names in this list.
                                            emulatornames = ["retroarch","ags", ........ ,"coolcv_pi"]
                                            

                                            I've had better results added them to the end of the list.

                                            V 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.