MiSTer BGM - Background Music for the MiSTer Menu

Kernel, Main, Utilities & Applications, Miscellaneous Devices.
TokyoRebirth
Posts: 1
Joined: Mon Feb 13, 2023 3:03 pm

Re: MiSTer BGM - Background Music for the MiSTer Menu

Unread post by TokyoRebirth »

Oh what a great feature 😄 finally I found the feature I've been looking for! Thank you! Now I only need to find the right music...

One question - a bit off topic @wizzo - what is the wallpaper you used in your screenshot? It's driving me nuts. I searched everywhere and couldn't find it lol

User avatar
neogeo81
Top Contributor
Posts: 446
Joined: Fri Apr 16, 2021 1:52 pm
Has thanked: 34 times
Been thanked: 47 times

Re: MiSTer BGM - Background Music for the MiSTer Menu

Unread post by neogeo81 »

Hi. I have set the menuvolume to 1 and it is still too loud in the menu.

User avatar
wizzo
Scripting Wizard
Posts: 183
Joined: Sat Mar 12, 2022 11:32 am
Has thanked: 15 times
Been thanked: 243 times

Re: MiSTer BGM - Background Music for the MiSTer Menu

Unread post by wizzo »

TokyoRebirth wrote: Mon Feb 13, 2023 3:13 pm

One question - a bit off topic @wizzo - what is the wallpaper you used in your screenshot? It's driving me nuts. I searched everywhere and couldn't find it lol

I found it!

pixel.png
pixel.png (926.58 KiB) Viewed 6850 times
neogeo81 wrote: Fri Mar 24, 2023 3:59 pm

Hi. I have set the menuvolume to 1 and it is still too loud in the menu.

In this case I would suggest using a tool to lower the volume of the audio file itself, this is how I do it anyway rather than using the volume adjustment. I recommend ffmpeg with the loudnorm filter

cmcginty
Posts: 6
Joined: Thu Nov 18, 2021 12:15 am

Re: MiSTer BGM - Background Music for the MiSTer Menu

Unread post by cmcginty »

It keeps playing when I load the cores. I just want to auto-start a menu song, and stop when I go into the core. Here's my config:

[bgm]
playback = loop
playlist = none
startup = yes
playincore = no
corebootdelay = 0
debug = no
menuvolume = 5
defaultvolume = 7

iso70x
Posts: 4
Joined: Tue May 25, 2021 9:09 am
Has thanked: 3 times
Been thanked: 1 time

Re: MiSTer BGM - Background Music for the MiSTer Menu

Unread post by iso70x »

I recently tried the auto volume change feature of the MiSTer BGM script and it works some of the time, but quite often causes music playback to stop completely. Without the auto volume change the music always stops and starts perfectly as expected (stop when launching a core, start when returning to menu).

With the auto volume adjust setting active though, quite often the playback remains stopped even after returning to main menu.

Whenever this happens, I can see this process visible in the output of ps:

Code: Select all

sh -c echo "volume 5" > /dev/MiSTer_cmd

If I manually kill this process, the music starts playing again.

Reading one of the old commits in the repo, it sounds very similar to this, although not sure whether it’s related:

https://github.com/wizzomafizzo/MiSTer_ ... 30589df0ac

I have 2 MiSTers, that are identical apart from the brand of sd card they use, and this issue happens on both of them when trying to use the auto volume adjust feature. Not sure whether it’s a bug or something unique about my setup. I’ve used the bgm.sh script for months and never had any issues, it’s only when enabling this feature that this happens. Does anyone else see this happen when they’ve set the custom volume levels via bgm.sh?

MrsBison
Posts: 119
Joined: Mon Nov 13, 2023 6:27 am
Has thanked: 70 times
Been thanked: 6 times

Re: MiSTer BGM - Background Music for the MiSTer Menu

Unread post by MrsBison »

This is intense...
Started a huge playlist... who need games :D

Kind regards

im afraid your path ends here ... Jago

MrsBison
Posts: 119
Joined: Mon Nov 13, 2023 6:27 am
Has thanked: 70 times
Been thanked: 6 times

Re: MiSTer BGM - Background Music for the MiSTer Menu

Unread post by MrsBison »

HI

how do i have to set the playlist that all in my local music folder strored trax will be playback ?
Here is the old playlist out of the folder stock. No there are 51 Songs and only the named in the
playlist will be plaback.

[playlist]
File1=/media/fat/music/Local_Audio/NES_Classic_Edition_Menu_Music.mp3
Title1=NES_Classic_Edition_Menu_Music
Length1=105
File2=/media/fat/music/Local_Audio/SNES_Classic_Edition-Menu_Song.mp3
Title2=SNES_Classic_Edition-Menu_Song
Length2=116
File3=/media/fat/music/Local_Audio/Sega_Genesis_Mini-Menu_Music.mp3
Title3=Sega_Genesis_Mini-Menu_Music
Length3=244
File4=/media/fat/music/Local_Audio/TurboGrafx_Mini_Menu_BGM_10_minutes.mp3
Title4=TurboGrafx_Mini_Menu_BGM_10_minutes
Length4=602
File5=/media/fat/music/Local_Audio/PC_Engine_Mini_Menu_BGM_10_minutes.mp3
Title5=PC_Engine_Mini_Menu_BGM_10_minutes
Length5=602
File6=/media/fat/music/Local_Audio/Wii_Shop_Channel_Main_Theme_HQ.mp3
Title6=Wii_Shop_Channel_Main_Theme_HQ
Length6=128
NumberOfEntries=6
Version=2

Thanx :)

im afraid your path ends here ... Jago

MrsBison
Posts: 119
Joined: Mon Nov 13, 2023 6:27 am
Has thanked: 70 times
Been thanked: 6 times

Re: MiSTer BGM - Background Music for the MiSTer Menu

Unread post by MrsBison »

Solved....

I removed that pls.file. Just create folders with music.
Run script. Select folder and Go...

👍🏻

im afraid your path ends here ... Jago

OnkelB
Posts: 11
Joined: Wed Nov 09, 2022 4:56 pm
Been thanked: 2 times

Re: MiSTer BGM - Background Music for the MiSTer Menu

Unread post by OnkelB »

Is there a way to have background music playing only when a specific Mister ini file is active?

I want to have no BGM when i boot in to my main mister ini. But only when i change to one of my alternative ini files BGM plays.
Is this possible in some way?

It is possible with wallpapers. You can have a separate wallpaper folder for each alternative ini.

Cap'n Sven
Posts: 3
Joined: Wed Apr 17, 2024 11:08 pm
Has thanked: 2 times

Re: MiSTer BGM - Background Music for the MiSTer Menu

Unread post by Cap'n Sven »

iso70x wrote: Mon Nov 06, 2023 10:58 pm

I recently tried the auto volume change feature of the MiSTer BGM script and it works some of the time, but quite often causes music playback to stop completely. Without the auto volume change the music always stops and starts perfectly as expected (stop when launching a core, start when returning to menu).

With the auto volume adjust setting active though, quite often the playback remains stopped even after returning to main menu.

Whenever this happens, I can see this process visible in the output of ps:

Code: Select all

sh -c echo "volume 5" > /dev/MiSTer_cmd

If I manually kill this process, the music starts playing again.

Reading one of the old commits in the repo, it sounds very similar to this, although not sure whether it’s related:

https://github.com/wizzomafizzo/MiSTer_ ... 30589df0ac

I have 2 MiSTers, that are identical apart from the brand of sd card they use, and this issue happens on both of them when trying to use the auto volume adjust feature. Not sure whether it’s a bug or something unique about my setup. I’ve used the bgm.sh script for months and never had any issues, it’s only when enabling this feature that this happens. Does anyone else see this happen when they’ve set the custom volume levels via bgm.sh?

This happens to me often enough that I just did a search, and ended up here. I disabled the setting and its working again much better. But LOUD - forgot how jarring the volume changes can be...

Yopachi wrote: Tue Jan 03, 2023 8:36 am

If anyone else is editing their mp3s in Audacity, I used the dropdown for "Effects" then "Amplify" -13 db
Dropping my tracks about 13 decibels seemed to match the other cores for me. I'm getting used to the music starting with wifi. It's a nice audio que that I can start transferring files ;)

Thanks for the tip, going to try this!

Post Reply