Skip to main content

Music Settings

The playlist, the music player, player-added songs and the play key.

This section

Music Settings

Config.music

Playlist​

OptionDefaultDescription
tracks2 samplesPlayed in order and round again. Each entry is an online song link or an audio file under the ui folder. An empty list means no music and no player
shufflefalseA different order on every join

Each track:

FieldRequiredDescription
sourceYesAn online song link, or a file such as 'media/music/song.mp3'
titleNoSong name. Links use their own title, files their own tags
artistNoArtist name
coverNoA picture for the cover
startNoSecond to start from
lua
tracks = {
{ source = 'https://your-song-link' },
{ source = 'media/music/song.mp3', title = 'Name', artist = 'Who', cover = 'media/cover.jpg', start = 12 },
},

Playback​

OptionDefaultDescription
volume50Starting volume, 0–100, until a player picks their own
fadeIn3Seconds the music takes to rise out of silence as the screen opens, 0–15
startDelay1.2Seconds after the screen has finished coming in before the player starts, 0–10. Starting it costs the browser a moment's work, so it waits until nothing on the screen is moving; a shorter wait brings the music in sooner, at the risk of the menu's arrival stuttering on a slow machine

Player​

OptionDefaultDescription
showPlayertrueThe record button in the menu that opens the player. Off still plays the music
nowPlayingtrueName the song in the bottom-right corner whenever a new one starts
nowPlayingSeconds5.5Seconds that note stays, 2–15
playerLinkstruePlayers may paste their own song links. They stay on that player's computer
maxPlayerLinks20Most songs one player can add, 1–50
playKey'Space'Key that pauses and resumes the music, e.g. 'Space' or 'P'. Empty turns it off
remembertrueRemember each player's volume, mute, pause and added songs for their next join