Background Music [Continued from Help/Support]
-
great work man! works perfectly. I really like it that it mutes or pauses the mp3 once I start playing a game.
-
hello,
i have the same problem that the music is still playing when i start the C64 vice emulator. in line 25 of the script it is listed. how can i solve the problem?
-
@huettmaster Are you using any external devices such as a usb sound card?
-
no. all roms and the music are located on the sd-scard...
-
I am loading my roms off a usb stick so far pifba and daphne do not work the music just plays right through.
-
it just might not work. i have come across the port of prince of persia the music plays right thought also.
you might want to look in to using what @synack posted for a different way. Im going to be giving it a try my self. I still like @Livewire version more, but for what ever reason when i have DraStic in the list. my controller stop working.
sucks but what can you do.
-
I have followed everything and triple checked it. I still have no sound though. I have the pi 3 if that makes any difference?
Can anyone throw any pointers my way? -
@Darby
try
sudo apt-get update
then
sudo apt-get install mpg123
Should work after the update.
-
@samuel95_54 said in Background Music [Continued from Help/Support]:
@Darby
try
sudo apt-get update
then
sudo apt-get install mpg123
Should work after the update.
I have tried op way and also the mpg123 way. Neither give me sound. I know everything sound related is working as I can hear noises when I navigate around the emulator menus.
-
we need a little more info to help. do you have the commands in
/rc.local
correct if you are useing the op wayand for mpg123 do you have all the commands for
runcommand-onstart.sh
andruncommand-onend.sh
correctalso where is your music folder?
-
@johnboyw
If you're using HDMI cable sound, try forcing HDMI audio out by addinghdmi_drive=2
to your/boot/config.txt
then restart your RPi.Here's some more sound troubleshooting:
https://github.com/RetroPie/RetroPie-Setup/wiki/Sound-Issues -
@ExarKunIv said in Background Music [Continued from Help/Support]:
we need a little more info to help. do you have the commands in
/rc.local
correct if you are useing the op wayand for mpg123 do you have all the commands for
runcommand-onstart.sh
andruncommand-onend.sh
correctalso where is your musIc folder
-
@backstander said in Background Music [Continued from Help/Support]:
@johnboyw
If you're using HDMI cable sound, try forcing HDMI audio out by addinghdmi_drive=2
to your/boot/config.txt
then restart your RPi.Here's some more sound troubleshooting:
https://github.com/RetroPie/RetroPie-Setup/wiki/Sound-IssuesI have sound just no music playing.
-
-
@johnboyw
Unless you have already edited yourmusic.py
script, you should move just your Music files to/home/pi/RetroPie/roms/music
Or if you don't want to move your Music files, you could just edit your
/home/pi/RetroPie/roms/music/Script/music.py
script to point to the actual music directory you are using like this:musicdir = '/home/pi/RetroPie/roms/music/Script'
-
@backstander said in Background Music [Continued from Help/Support]:
@johnboyw
Unless you have already edited yourmusic.py
script, you should move just your Music files to/home/pi/RetroPie/roms/music
Or if you don't want to move your Music files, you could just edit your
music.py
script to point to the actual music directory you are using like this:musicdir = '/home/pi/RetroPie/roms/music/Script'
I've already tried it in that folder. That didn't work either.
-
@ExarKunIv said in Background Music [Continued from Help/Support]:
did you edit the music.py at all?
All I did was follow the instructions at the top by the op. That didn't work so I then tried the second one. That didn't work so I then saw another version in a different forum that I tried. Hence the reason why my music is in that script folder now.
-
im sure that it will not do anything but put a enter after the &
(sudo python /home/pi/BGmusic.py) & exit 0
this is from my rc.local so thats why its different
-
Thanks for all the help. I'm very new to all this. I've only just bought my pi. I usually just mess with phone ROMs. I've no idea when it comes to coding etc. But I'm prepared to learn.
I'll try the things mentioned when I get home.
Thank you. -
not a problem. im still kinda new myself.
just keep asking and we'll keep trying to help
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.