After downloading and installing it, open the game and craft a record player using 8 wooden planks and 1 diamond, then craft a speaker stone using the record player and 8 cobblestones.
Place it down and right-click to play or pause the music. It comes with a magical song built in, and you can also add MP3 files to the stonemusic folder in the version folder. In-game, use PgUp and PgDn to switch to the previous or next song, and the key bindings can be changed. Using it at night near hostile mobs has a magical effect.