RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Adjust BGM volume? (mpg123)

    Scheduled Pinned Locked Moved Help and Support
    mpg123 bgmvolume controlmusic
    2 Posts 2 Posters 572 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.
    • R
      retropie
      last edited by

      I use mpg123 to play background music on my retropie.
      I wanted to make the bgm to start with a specific % volume everytime I turn on my retropie so I wouldn't need to keep changing volume everytime.
      How could I achieve this?

      RapidEdwin08R 1 Reply Last reply Reply Quote 0
      • RapidEdwin08R
        RapidEdwin08 @retropie
        last edited by

        @retropie start with a specific % volume

        mpg123 -f "32768" # Volume % "100"
        mpg123 -f "29484" # Volume % "90 "
        mpg123 -f "26208" # Volume % "80 "
        mpg123 -f "22932" # Volume % "70 "
        mpg123 -f "19656" # Volume % "60 "
        mpg123 -f "16380" # Volume % "50 "
        mpg123 -f "13104" # Volume % "40 "
        mpg123 -f "9828" # Volume % "30 "
        mpg123 -f "6552" # Volume % "20 "
        mpg123 -f "3276" # Volume % "10 "
        mpg123 -f "1638" # Volume % "5 "

        Raspberry Pi B, Pi B+, Pi2 B, Pi3 B, Pi3 B+, Pi Zero W, Pi4 (4GB/8GB), Pi5 (8GB/16GB), Pi Zero 2 W, GPi V1, minisforum GK50 / RetroPie 4.8.x

        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.