More music and artist links

This commit is contained in:
DaforLynx 2022-11-25 18:48:56 +00:00 committed by Isse
parent 874c5d3401
commit d338906b19
9 changed files with 215 additions and 134 deletions

View File

@ -1,13 +1,15 @@
// Times: Some(Day or Night) or None [both] // Times: Day, Night, or None (both)
// Weathers: Some(Clear, Cloudy, Rain, or Storm) or None [any weather] // Weathers: Clear, Cloudy, Rain, Storm, or None (any weather)
// Biomes: Grassland, Forest, Desert, Snowland, Lake, Mountain, Ocean, Jungle, Savannah, Taiga // Biomes: Grassland, Forest, Desert, Snowland, Lake, Mountain, Ocean, Jungle, Savannah, Taiga
// planned biomes: Swamp // planned biomes: Swamp
// Number after biome indicates weighting; higher numbers are less frequent // Number after biome indicates weighting; higher numbers are less frequent
// Sites: Settlement(Default, Cliff, or Desert), Cave, Dungeon(Old or Gnarling), or Void [none] // Sites: Settlement(Default, CliffTown, DesertCity, or SavannahPit), Cave, Dungeon(Old or Gnarling), or Void [none]
// Music states: Activity(Explore or Combat) // Music states: Activity(Explore or Combat)
// Combat music is looped. Needs three files: start, loop, and end. Start contains leadup to the loop. // Combat music is looped. Needs three files: start, loop, and end. Start contains leadup to the loop.
// Artist format is ("Artist", "https://website.com/"). If no website, use None.
// It's recommended to also have appropriate metadata for those who listen via the game files :) // It's recommended to also have appropriate metadata for those who listen via the game files :)
#![enable(implicit_some)]
( (
tracks: [] tracks: []
) )

View File

@ -1,13 +1,15 @@
// Times: Some(Day or Night) or None [both] // Times: Day, Night, or None (both)
// Weathers: Some(Clear, Cloudy, Rain, or Storm) or None [any weather] // Weathers: Clear, Cloudy, Rain, Storm, or None (any weather)
// Biomes: Grassland, Forest, Desert, Snowland, Lake, Mountain, Ocean, Jungle, Savannah, Taiga // Biomes: Grassland, Forest, Desert, Snowland, Lake, Mountain, Ocean, Jungle, Savannah, Taiga
// planned biomes: Swamp // planned biomes: Swamp
// Number after biome indicates weighting; higher numbers are less frequent // Number after biome indicates weighting; higher numbers are less frequent
// Sites: Settlement(Default, Cliff, or Desert), Cave, Dungeon(Old or Gnarling), or Void [none] // Sites: Settlement(Default, CliffTown, DesertCity, or SavannahPit), Cave, Dungeon(Old or Gnarling), or Void [none]
// Music states: Activity(Explore or Combat) // Music states: Activity(Explore or Combat)
// Combat music is looped. Needs three files: start, loop, and end. Start contains leadup to the loop. // Combat music is looped. Needs three files: start, loop, and end. Start contains leadup to the loop.
// Artist format is ("Artist", "https://website.com/"). If no website, use None.
// It's recommended to also have appropriate metadata for those who listen via the game files :) // It's recommended to also have appropriate metadata for those who listen via the game files :)
#![enable(implicit_some)]
( (
tracks: tracks:
[ [
@ -23,7 +25,7 @@
biomes: [], biomes: [],
sites: [Void, Settlement(Default), Settlement(CliffTown), Settlement(DesertCity)], sites: [Void, Settlement(Default), Settlement(CliffTown), Settlement(DesertCity)],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "badbbad", artist: ("badbbad", "https://soundcloud.com/tomerbarnea"),
)), )),
Individual(( Individual((
title: "Dank Dungeon", title: "Dank Dungeon",
@ -34,7 +36,7 @@
biomes: [], biomes: [],
sites: [Void, Settlement(Default), Settlement(CliffTown), Settlement(DesertCity)], sites: [Void, Settlement(Default), Settlement(CliffTown), Settlement(DesertCity)],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Aeronic", artist: ("Aeronic", "https://soundcloud.com/aeronic"),
)), )),
Individual(( Individual((
title: "Ruination", title: "Ruination",
@ -45,18 +47,18 @@
biomes: [], biomes: [],
sites: [Void, Settlement(Default), Settlement(CliffTown), Settlement(DesertCity)], sites: [Void, Settlement(Default), Settlement(CliffTown), Settlement(DesertCity)],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Aeronic", artist: ("Aeronic", "https://soundcloud.com/aeronic"),
)), )),
Individual(( Individual((
title: "Moonlit Canopy", title: "Moonlit Canopy",
path: "voxygen.audio.soundtrack.overworld.moonlit_canopy", path: "voxygen.audio.soundtrack.overworld.moonlit_canopy",
length: 170.0, length: 170.0,
timing: Some(Night), timing: None,
weather: None, weather: None,
biomes: [], biomes: [],
sites: [Void, Settlement(Default), Settlement(CliffTown), Settlement(DesertCity)], sites: [Void, Settlement(Default), Settlement(CliffTown), Settlement(DesertCity)],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "GeekyGami", artist: ("GeekyGami", "https://geekygami.newgrounds.com/audio/"),
)), )),
Individual(( Individual((
title: "Ethereal Bonds", title: "Ethereal Bonds",
@ -67,7 +69,7 @@
biomes: [], biomes: [],
sites: [Void, Settlement(Default), Settlement(CliffTown), Settlement(DesertCity)], sites: [Void, Settlement(Default), Settlement(CliffTown), Settlement(DesertCity)],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Aeronic", artist: ("Aeronic", "https://soundcloud.com/aeronic"),
)), )),
Individual(( Individual((
title: "Raising Below Like Thunder", title: "Raising Below Like Thunder",
@ -78,7 +80,7 @@
biomes: [], biomes: [],
sites: [Void, Settlement(Default), Settlement(CliffTown), Settlement(DesertCity)], sites: [Void, Settlement(Default), Settlement(CliffTown), Settlement(DesertCity)],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Rarnage", artist: ("Rarnage", "https://soundcloud.com/rarnage44"),
)), )),
Individual(( Individual((
title: "Into The Dark Forest", title: "Into The Dark Forest",
@ -89,7 +91,7 @@
biomes: [], biomes: [],
sites: [Void, Settlement(Default), Settlement(CliffTown), Settlement(DesertCity)], sites: [Void, Settlement(Default), Settlement(CliffTown), Settlement(DesertCity)],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Aeronic", artist: ("Aeronic", "https://soundcloud.com/aeronic"),
)), )),
Individual(( Individual((
title: "Ballerine Macabre", title: "Ballerine Macabre",
@ -100,7 +102,7 @@
biomes: [], biomes: [],
sites: [Void, Settlement(Default), Settlement(CliffTown), Settlement(DesertCity)], sites: [Void, Settlement(Default), Settlement(CliffTown), Settlement(DesertCity)],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "GeekyGami", artist: ("GeekyGami", "https://geekygami.newgrounds.com/audio/"),
)), )),
// Cave music // Cave music
@ -114,7 +116,7 @@
biomes: [], biomes: [],
sites: [Cave], sites: [Cave],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "DragonDee", artist: ("DragonDee", "https://soundcloud.com/deanna-rusnock"),
)), )),
Individual(( Individual((
title: "Cavernous Hollow", title: "Cavernous Hollow",
@ -125,7 +127,7 @@
biomes: [], biomes: [],
sites: [Cave], sites: [Cave],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "GeekyGami", artist: ("GeekyGami", "https://geekygami.newgrounds.com/audio/"),
)), )),
Individual(( Individual((
title: "Saturated Hallows", title: "Saturated Hallows",
@ -136,7 +138,7 @@
biomes: [], biomes: [],
sites: [Cave], sites: [Cave],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Flashbang", artist: ("Flashbang", "https://soundcloud.com/unboundir0n-m4n"),
)), )),
Individual(( Individual((
title: "Mineral Deposits", title: "Mineral Deposits",
@ -147,7 +149,7 @@
biomes: [], biomes: [],
sites: [Cave], sites: [Cave],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Aeronic", artist: ("Aeronic", "https://soundcloud.com/aeronic"),
)), )),
Individual(( Individual((
title: "Down The Rabbit Hole", title: "Down The Rabbit Hole",
@ -158,7 +160,7 @@
biomes: [], biomes: [],
sites: [Cave], sites: [Cave],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "badbbad", artist: ("badbbad", "https://soundcloud.com/tomerbarnea"),
)), )),
// Dungeon music // Dungeon music
@ -174,7 +176,7 @@
Dungeon(Old), Dungeon(Old),
], ],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Tiny", artist: ("Tiny", None),
)), )),
Individual(( Individual((
title: "Cobbled Halls", title: "Cobbled Halls",
@ -187,7 +189,7 @@
Dungeon(Old), Dungeon(Old),
], ],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Crow", artist: ("Crow", None),
)), )),
Individual(( Individual((
title: "Dank Dungeon", title: "Dank Dungeon",
@ -200,7 +202,7 @@
Dungeon(Old), Dungeon(Old),
], ],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Aeronic", artist: ("Aeronic", "https://soundcloud.com/aeronic"),
)), )),
Individual(( Individual((
title: "Ruination", title: "Ruination",
@ -213,7 +215,7 @@
Dungeon(Old), Dungeon(Old),
], ],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Aeronic", artist: ("Aeronic", "https://soundcloud.com/aeronic"),
)), )),
Individual(( Individual((
title: "Vast Onslaught", title: "Vast Onslaught",
@ -226,7 +228,7 @@
Dungeon(Old), Dungeon(Old),
], ],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Aeronic", artist: ("Aeronic", "https://soundcloud.com/aeronic"),
)), )),
Individual(( Individual((
title: "Sacred Temple", title: "Sacred Temple",
@ -239,7 +241,7 @@
Dungeon(Old), Dungeon(Old),
], ],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Aeronic", artist: ("Aeronic", "https://soundcloud.com/aeronic"),
)), )),
Individual(( Individual((
title: "The Undergrowth", title: "The Undergrowth",
@ -252,7 +254,7 @@
Dungeon(Gnarling), Dungeon(Gnarling),
], ],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Oolnokk", artist: ("Oolnokk", "https://soundcloud.com/walkerhallplaysthegeetar"),
)), )),
Individual(( Individual((
title: "Jungle Ambient", title: "Jungle Ambient",
@ -265,7 +267,20 @@
Dungeon(Gnarling), Dungeon(Gnarling),
], ],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "badbbad", artist: ("badbbad", "https://soundcloud.com/tomerbarnea"),
)),
Individual((
title: "Thrumming Waters",
path: "voxygen.audio.soundtrack.dungeon.thrumming_waters",
length: 100.0,
timing: None,
weather: None,
biomes: [],
sites: [
Dungeon(Gnarling),
],
music_state: Activity(Explore),
artist: ("Jeremiah Sweeney", "https://soundcloud.com/jsweeney743"),
)), )),
// Combat Music // Combat Music
@ -283,7 +298,7 @@
("voxygen.audio.soundtrack.combat.barred_paths.barred_paths-loop", 54.0, Activity(Combat(High)), None), ("voxygen.audio.soundtrack.combat.barred_paths.barred_paths-loop", 54.0, Activity(Combat(High)), None),
("voxygen.audio.soundtrack.combat.barred_paths.barred_paths-end", 6.0, Transition(Combat(High), Explore), None), ("voxygen.audio.soundtrack.combat.barred_paths.barred_paths-end", 6.0, Transition(Combat(High), Explore), None),
], ],
artist: "DaforLynx", artist: ("DaforLynx", "https://daforlynx.neocities.org/"),
), ),
Segmented( Segmented(
title: "Reversal", title: "Reversal",
@ -298,7 +313,7 @@
("voxygen.audio.soundtrack.combat.reversal.reversal-loop", 60.0, Activity(Combat(High)), None), ("voxygen.audio.soundtrack.combat.reversal.reversal-loop", 60.0, Activity(Combat(High)), None),
("voxygen.audio.soundtrack.combat.reversal.reversal-end", 4.0, Transition(Combat(High), Explore), None), ("voxygen.audio.soundtrack.combat.reversal.reversal-end", 4.0, Transition(Combat(High), Explore), None),
], ],
artist: "DaforLynx", artist: ("DaforLynx", "https://daforlynx.neocities.org/"),
), ),
] ]
) )

View File

@ -1,19 +1,33 @@
// Times: Some(Day or Night) or None [both] // Times: Day, Night, or None (both)
// Weathers: Some(Clear, Cloudy, Rain, or Storm) or None [any weather] // Weathers: Clear, Cloudy, Rain, Storm, or None (any weather)
// Biomes: Grassland, Forest, Desert, Snowland, Lake, Mountain, Ocean, Jungle, Savannah, Taiga // Biomes: Grassland, Forest, Desert, Snowland, Lake, Mountain, Ocean, Jungle, Savannah, Taiga
// planned biomes: Swamp // planned biomes: Swamp
// Number after biome indicates weighting; higher numbers are less frequent // Number after biome indicates weighting; higher numbers are less frequent
// Sites: Settlement(Default, Cliff, or Desert), Cave, Dungeon(Old or Gnarling), or Void [none] // Sites: Settlement(Default, CliffTown, DesertCity, or SavannahPit), Cave, Dungeon(Old or Gnarling), or Void [none]
// Music states: Activity(Explore or Combat) // Music states: Activity(Explore or Combat)
// Combat music is looped. Needs three files: start, loop, and end. Start contains leadup to the loop. // Combat music is looped. Needs three files: start, loop, and end. Start contains leadup to the loop.
// Artist format is ("Artist", "https://website.com/"). If no website, use None.
// It's recommended to also have appropriate metadata for those who listen via the game files :) // It's recommended to also have appropriate metadata for those who listen via the game files :)
#![enable(implicit_some)]
( (
tracks: tracks:
[ [
// Overworld exploration tracks // Overworld exploration tracks
Individual((
title: "Torii",
path: "voxygen.audio.soundtrack.overworld.torii",
length: 157.0,
timing: Night,
weather: None,
biomes: [
(Taiga, 1),
],
sites: [Void],
music_state: Activity(Explore),
artist: ("FaceImplosion", "https://www.youtube.com/c/FaceImplosion"),
)),
Individual(( Individual((
title: "The Undergrowth", title: "The Undergrowth",
path: "voxygen.audio.soundtrack.overworld.the_undergrowth", path: "voxygen.audio.soundtrack.overworld.the_undergrowth",
@ -25,13 +39,13 @@
], ],
sites: [Void], sites: [Void],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Oolnokk", artist: ("Oolnokk", "https://soundcloud.com/walkerhallplaysthegeetar"),
)), )),
Individual(( Individual((
title: "Moonlit Canopy", title: "Moonlit Canopy",
path: "voxygen.audio.soundtrack.overworld.moonlit_canopy", path: "voxygen.audio.soundtrack.overworld.moonlit_canopy",
length: 170.0, length: 170.0,
timing: Some(Night), timing: Night,
weather: None, weather: None,
biomes: [ biomes: [
(Forest, 1), (Forest, 1),
@ -39,13 +53,13 @@
], ],
sites: [Void], sites: [Void],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "GeekyGami", artist: ("GeekyGami", "https://geekygami.newgrounds.com/audio/"),
)), )),
Individual(( Individual((
title: "Adventurous Soul", title: "Adventurous Soul",
path: "voxygen.audio.soundtrack.overworld.adventurous_soul", path: "voxygen.audio.soundtrack.overworld.adventurous_soul",
length: 184.0, length: 184.0,
timing: Some(Night), timing: Night,
weather: None, weather: None,
biomes: [ biomes: [
(Mountain, 1), (Mountain, 1),
@ -53,13 +67,13 @@
], ],
sites: [Void], sites: [Void],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Crow", artist: ("Crow", None),
)), )),
Individual(( Individual((
title: "Stargazing", title: "Stargazing",
path: "voxygen.audio.soundtrack.overworld.stargazing", path: "voxygen.audio.soundtrack.overworld.stargazing",
length: 216.0, length: 216.0,
timing: Some(Night), timing: Night,
weather: None, weather: None,
biomes: [ biomes: [
(Taiga, 1), (Taiga, 1),
@ -67,35 +81,35 @@
], ],
sites: [Void], sites: [Void],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "GeekyGami", artist: ("GeekyGami", "https://geekygami.newgrounds.com/audio/"),
)), )),
Individual(( Individual((
title: "The Heavens Weep", title: "The Heavens Weep",
path: "voxygen.audio.soundtrack.overworld.the_heavens_weep", path: "voxygen.audio.soundtrack.overworld.the_heavens_weep",
length: 210.0, length: 210.0,
timing: None, timing: None,
weather: Some(Rain), weather: Rain,
biomes: [], biomes: [],
sites: [Void], sites: [Void],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Oolnokk", artist: ("Oolnokk", "https://soundcloud.com/walkerhallplaysthegeetar"),
)), )),
Individual(( Individual((
title: "A Hero's Sorrow", title: "A Hero's Sorrow",
path: "voxygen.audio.soundtrack.overworld.a_heros_sorrow", path: "voxygen.audio.soundtrack.overworld.a_heros_sorrow",
length: 252.0, length: 252.0,
timing: None, timing: None,
weather: Some(Rain), weather: Rain,
biomes: [], biomes: [],
sites: [Void], sites: [Void],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Oolnokk", artist: ("Oolnokk", "https://soundcloud.com/walkerhallplaysthegeetar"),
)), )),
Individual(( Individual((
title: "Follow the Signs", title: "Follow the Signs",
path: "voxygen.audio.soundtrack.overworld.follow_the_signs", path: "voxygen.audio.soundtrack.overworld.follow_the_signs",
length: 154.0, length: 154.0,
timing: Some(Night), timing: Night,
weather: None, weather: None,
biomes: [ biomes: [
(Forest, 2), (Forest, 2),
@ -103,13 +117,13 @@
], ],
sites: [Void], sites: [Void],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Oolnokk", artist: ("Oolnokk", "https://soundcloud.com/walkerhallplaysthegeetar"),
)), )),
Individual(( Individual((
title: "Travel By Night", title: "Travel By Night",
path: "voxygen.audio.soundtrack.overworld.travel_by_night", path: "voxygen.audio.soundtrack.overworld.travel_by_night",
length: 66.0, length: 66.0,
timing: Some(Night), timing: Night,
weather: None, weather: None,
biomes: [ biomes: [
(Forest, 1), (Forest, 1),
@ -117,13 +131,13 @@
], ],
sites: [Void], sites: [Void],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Oolnokk", artist: ("Oolnokk", "https://soundcloud.com/walkerhallplaysthegeetar"),
)), )),
Individual(( Individual((
title: "Raising Below Like Thunder", title: "Raising Below Like Thunder",
path: "voxygen.audio.soundtrack.overworld.raising_below_like_thunder", path: "voxygen.audio.soundtrack.overworld.raising_below_like_thunder",
length: 120.0, length: 120.0,
timing: Some(Night), timing: Night,
weather: None, weather: None,
biomes: [ biomes: [
(Desert, 1), (Desert, 1),
@ -131,33 +145,33 @@
], ],
sites: [Void], sites: [Void],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Rarnage", artist: ("Rarnage", "https://soundcloud.com/rarnage44"),
)), )),
Individual(( Individual((
title: "Calming Hills", title: "Calming Hills",
path: "voxygen.audio.soundtrack.overworld.calming_hills", path: "voxygen.audio.soundtrack.overworld.calming_hills",
length: 101.0, length: 101.0,
timing: Some(Day), timing: Day,
weather: None, weather: None,
biomes: [ biomes: [
(Mountain, 1), (Mountain, 1),
], ],
sites: [Void], sites: [Void],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Ultimafounding; mixed by Robotnik", artist: ("Ultimafounding; mixed by Robotnik", "https://jackmagson.bandcamp.com/"),
)), )),
Individual(( Individual((
title: "True Nature", title: "True Nature",
path: "voxygen.audio.soundtrack.overworld.true_nature", path: "voxygen.audio.soundtrack.overworld.true_nature",
length: 169.0, length: 169.0,
timing: Some(Day), timing: Day,
weather: None, weather: None,
biomes: [ biomes: [
(Forest, 1), (Forest, 1),
], ],
sites: [Void], sites: [Void],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "DaforLynx", artist: ("DaforLynx", "https://daforlynx.neocities.org/"),
)), )),
Individual(( Individual((
title: "Jungle Ambient", title: "Jungle Ambient",
@ -170,26 +184,26 @@
], ],
sites: [Void], sites: [Void],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "badbbad", artist: ("badbbad", "https://soundcloud.com/tomerbarnea"),
)), )),
Individual(( Individual((
title: "Ethereal Bonds", title: "Ethereal Bonds",
path: "voxygen.audio.soundtrack.overworld.ethereal_bonds", path: "voxygen.audio.soundtrack.overworld.ethereal_bonds",
length: 59.0, length: 59.0,
timing: Some(Night), timing: Night,
weather: None, weather: None,
biomes: [ biomes: [
(Mountain, 1), (Mountain, 1),
], ],
sites: [Void], sites: [Void],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Aeronic", artist: ("Aeronic", "https://soundcloud.com/aeronic"),
)), )),
Individual(( Individual((
title: "Leap of Faith", title: "Leap of Faith",
path: "voxygen.audio.soundtrack.overworld.leap_of_faith", path: "voxygen.audio.soundtrack.overworld.leap_of_faith",
length: 269.0, length: 269.0,
timing: Some(Night), timing: Night,
weather: None, weather: None,
biomes: [ biomes: [
(Ocean, 1), (Ocean, 1),
@ -197,13 +211,13 @@
], ],
sites: [Void], sites: [Void],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Aeronic", artist: ("Aeronic", "https://soundcloud.com/aeronic"),
)), )),
Individual(( Individual((
title: "Highland of the Hawk", title: "Highland of the Hawk",
path: "voxygen.audio.soundtrack.overworld.highland_of_the_hawk", path: "voxygen.audio.soundtrack.overworld.highland_of_the_hawk",
length: 283.0, length: 283.0,
timing: Some(Day), timing: Day,
weather: None, weather: None,
biomes: [ biomes: [
(Desert, 1), (Desert, 1),
@ -211,26 +225,26 @@
], ],
sites: [Void], sites: [Void],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "badbbad", artist: ("badbbad", "https://soundcloud.com/tomerbarnea"),
)), )),
Individual(( Individual((
title: "Verdant Glades", title: "Verdant Glades",
path: "voxygen.audio.soundtrack.overworld.verdant_glades", path: "voxygen.audio.soundtrack.overworld.verdant_glades",
length: 97.0, length: 97.0,
timing: Some(Day), timing: Day,
weather: None, weather: None,
biomes: [ biomes: [
(Grassland, 1), (Grassland, 1),
], ],
sites: [Void], sites: [Void],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Aeronic", artist: ("Aeronic", "https://soundcloud.com/aeronic"),
)), )),
Individual(( Individual((
title: "Calling Wild", title: "Calling Wild",
path: "voxygen.audio.soundtrack.overworld.calling_wild", path: "voxygen.audio.soundtrack.overworld.calling_wild",
length: 160.0, length: 160.0,
timing: Some(Night), timing: Night,
weather: None, weather: None,
biomes: [ biomes: [
(Grassland, 1), (Grassland, 1),
@ -238,7 +252,7 @@
], ],
sites: [Void], sites: [Void],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Ultimafounding", artist: ("Ultimafounding", "https://jackmagson.bandcamp.com/"),
)), )),
Individual(( Individual((
title: "Drifting Along", title: "Drifting Along",
@ -252,26 +266,26 @@
], ],
sites: [Void], sites: [Void],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "DaforLynx", artist: ("DaforLynx", "https://daforlynx.neocities.org/"),
)), )),
Individual(( Individual((
title: "Winter Falls", title: "Winter Falls",
path: "voxygen.audio.soundtrack.overworld.winter_falls", path: "voxygen.audio.soundtrack.overworld.winter_falls",
length: 215.0, length: 215.0,
timing: Some(Day), timing: Day,
weather: None, weather: None,
biomes: [ biomes: [
(Snowland, 1), (Snowland, 1),
], ],
sites: [Void], sites: [Void],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "DaforLynx", artist: ("DaforLynx", "https://daforlynx.neocities.org/"),
)), )),
Individual(( Individual((
title: "Short Meandering", title: "Short Meandering",
path: "voxygen.audio.soundtrack.overworld.short_meandering", path: "voxygen.audio.soundtrack.overworld.short_meandering",
length: 147.0, length: 147.0,
timing: Some(Night), timing: Night,
weather: None, weather: None,
biomes: [ biomes: [
(Desert, 1), (Desert, 1),
@ -279,7 +293,7 @@
], ],
sites: [Void], sites: [Void],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Ap1evideogame", artist: ("Ap1evideogame", "https://youtube.com/channel/UCt1M5lk2kGZStr64B3hUUKg"),
)), )),
Individual(( Individual((
title: "Oceania", title: "Oceania",
@ -293,13 +307,13 @@
], ],
sites: [Void], sites: [Void],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Eden", artist: ("Eden", "https://soundcloud.com/usernumberuser"),
)), )),
Individual(( Individual((
title: "A Solemn Quest", title: "A Solemn Quest",
path: "voxygen.audio.soundtrack.overworld.a_solemn_quest", path: "voxygen.audio.soundtrack.overworld.a_solemn_quest",
length: 206.0, length: 206.0,
timing: Some(Night), timing: Night,
weather: None, weather: None,
biomes: [ biomes: [
(Forest, 1), (Forest, 1),
@ -307,26 +321,26 @@
], ],
sites: [Void], sites: [Void],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Eden", artist: ("Eden", "https://soundcloud.com/usernumberuser"),
)), )),
Individual(( Individual((
title: "Into The Dark Forest", title: "Into The Dark Forest",
path: "voxygen.audio.soundtrack.overworld.into_the_dark_forest", path: "voxygen.audio.soundtrack.overworld.into_the_dark_forest",
length: 184.0, length: 184.0,
timing: Some(Night), timing: Night,
weather: None, weather: None,
biomes: [ biomes: [
(Forest, 1), (Forest, 1),
], ],
sites: [Void], sites: [Void],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Aeronic", artist: ("Aeronic", "https://soundcloud.com/aeronic"),
)), )),
Individual(( Individual((
title: "Field Grazing", title: "Field Grazing",
path: "voxygen.audio.soundtrack.overworld.field_grazing", path: "voxygen.audio.soundtrack.overworld.field_grazing",
length: 154.0, length: 154.0,
timing: Some(Day), timing: Day,
weather: None, weather: None,
biomes: [ biomes: [
(Grassland, 1), (Grassland, 1),
@ -334,78 +348,78 @@
], ],
sites: [Void], sites: [Void],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Aeronic", artist: ("Aeronic", "https://soundcloud.com/aeronic"),
)), )),
Individual(( Individual((
title: "Wandering Voices", title: "Wandering Voices",
path: "voxygen.audio.soundtrack.overworld.wandering_voices", path: "voxygen.audio.soundtrack.overworld.wandering_voices",
length: 137.0, length: 137.0,
timing: Some(Night), timing: Night,
weather: None, weather: None,
biomes: [ biomes: [
(Grassland, 1), (Grassland, 1),
], ],
sites: [Void], sites: [Void],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Aeronic", artist: ("Aeronic", "https://soundcloud.com/aeronic"),
)), )),
Individual(( Individual((
title: "Snowtop Volume", title: "Snowtop Volume",
path: "voxygen.audio.soundtrack.overworld.snowtop_volume", path: "voxygen.audio.soundtrack.overworld.snowtop_volume",
length: 89.0, length: 89.0,
timing: Some(Day), timing: Day,
weather: None, weather: None,
biomes: [ biomes: [
(Snowland, 1), (Snowland, 1),
], ],
sites: [Void], sites: [Void],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Aeronic", artist: ("Aeronic", "https://soundcloud.com/aeronic"),
)), )),
Individual(( Individual((
title: "Moonbeams", title: "Moonbeams",
path: "voxygen.audio.soundtrack.overworld.moonbeams", path: "voxygen.audio.soundtrack.overworld.moonbeams",
length: 158.0, length: 158.0,
timing: Some(Night), timing: Night,
weather: None, weather: None,
biomes: [ biomes: [
(Snowland, 1), (Snowland, 1),
], ],
sites: [Void], sites: [Void],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Aeronic", artist: ("Aeronic", "https://soundcloud.com/aeronic"),
)), )),
Individual(( Individual((
title: "Serene Meadows", title: "Serene Meadows",
path: "voxygen.audio.soundtrack.overworld.serene_meadows", path: "voxygen.audio.soundtrack.overworld.serene_meadows",
length: 173.0, length: 173.0,
timing: Some(Night), timing: Night,
weather: None, weather: None,
biomes: [ biomes: [
(Grassland, 1), (Grassland, 1),
], ],
sites: [Void], sites: [Void],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Aeronic", artist: ("Aeronic", "https://soundcloud.com/aeronic"),
)), )),
Individual(( Individual((
title: "Just The Beginning", title: "Just The Beginning",
path: "voxygen.audio.soundtrack.overworld.just_the_beginning", path: "voxygen.audio.soundtrack.overworld.just_the_beginning",
length: 188.0, length: 188.0,
timing: Some(Day), timing: Day,
weather: None, weather: None,
biomes: [ biomes: [
(Grassland, 1), (Grassland, 1),
], ],
sites: [Void], sites: [Void],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "badbbad", artist: ("badbbad", "https://soundcloud.com/tomerbarnea"),
)), )),
Individual(( Individual((
title: "Campfire Stories", title: "Campfire Stories",
path: "voxygen.audio.soundtrack.overworld.campfire_stories", path: "voxygen.audio.soundtrack.overworld.campfire_stories",
length: 100.0, length: 100.0,
timing: Some(Night), timing: Night,
weather: None, weather: None,
biomes: [ biomes: [
(Forest, 1), (Forest, 1),
@ -413,13 +427,13 @@
], ],
sites: [Void], sites: [Void],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "badbbad", artist: ("badbbad", "https://soundcloud.com/tomerbarnea"),
)), )),
Individual(( Individual((
title: "Limits", title: "Limits",
path: "voxygen.audio.soundtrack.overworld.limits", path: "voxygen.audio.soundtrack.overworld.limits",
length: 203.0, length: 203.0,
timing: Some(Day), timing: Day,
weather: None, weather: None,
biomes: [ biomes: [
(Mountain, 1), (Mountain, 1),
@ -427,13 +441,13 @@
], ],
sites: [Void], sites: [Void],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "badbbad", artist: ("badbbad", "https://soundcloud.com/tomerbarnea"),
)), )),
Individual(( Individual((
title: "Between The Fairies", title: "Between The Fairies",
path: "voxygen.audio.soundtrack.overworld.between_the_fairies", path: "voxygen.audio.soundtrack.overworld.between_the_fairies",
length: 175.0, length: 175.0,
timing: Some(Day), timing: Day,
weather: None, weather: None,
biomes: [ biomes: [
(Forest, 1), (Forest, 1),
@ -441,16 +455,30 @@
], ],
sites: [Void], sites: [Void],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "badbbad", artist: ("badbbad", "https://soundcloud.com/tomerbarnea"),
)), )),
// Town music // Town music
Individual((
title: "Into the Mines",
path: "voxygen.audio.soundtrack.town.into_the_mines",
length: 157.0,
timing: Day,
weather: None,
biomes: [],
sites: [
Settlement(CliffTown),
Settlement(SavannahPit),
],
music_state: Activity(Explore),
artist: ("elliot_stone1998", None),
)),
Individual(( Individual((
title: "Life of a Background Mob", title: "Life of a Background Mob",
path: "voxygen.audio.soundtrack.town.life_of_a_background_mob", path: "voxygen.audio.soundtrack.town.life_of_a_background_mob",
length: 234.0, length: 234.0,
timing: Some(Day), timing: Day,
weather: None, weather: None,
biomes: [ biomes: [
(Forest, 1), (Forest, 1),
@ -459,138 +487,147 @@
sites: [ sites: [
Settlement(Default), Settlement(Default),
Settlement(CliffTown), Settlement(CliffTown),
Settlement(SavannahPit),
], ],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "GeekyGami", artist: ("GeekyGami", "https://geekygami.newgrounds.com/audio/"),
)), )),
Individual(( Individual((
title: "Warmth of the Hearth", title: "Warmth of the Hearth",
path: "voxygen.audio.soundtrack.town.warmth_of_the_hearth", path: "voxygen.audio.soundtrack.town.warmth_of_the_hearth",
length: 156.0, length: 156.0,
timing: Some(Night), timing: Night,
weather: None, weather: None,
biomes:[], biomes:[],
sites: [ sites: [
Settlement(Default), Settlement(Default),
Settlement(CliffTown), Settlement(CliffTown),
Settlement(DesertCity), Settlement(DesertCity),
Settlement(SavannahPit),
], ],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Crow", artist: ("Crow", None),
)), )),
Individual(( Individual((
title: "The Quiet After the Battle", title: "The Quiet After the Battle",
path: "voxygen.audio.soundtrack.town.the_quiet_after_the_battle", path: "voxygen.audio.soundtrack.town.the_quiet_after_the_battle",
length: 240.0, length: 240.0,
timing: Some(Night), timing: Night,
weather: None, weather: None,
biomes: [], biomes: [],
sites: [ sites: [
Settlement(Default), Settlement(Default),
Settlement(CliffTown), Settlement(CliffTown),
Settlement(DesertCity), Settlement(DesertCity),
Settlement(SavannahPit),
], ],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Tobias Thy - (Thy SFX)", artist: ("Tobias Thy - (Thy SFX)", "https://soundcloud.com/thyofficial"),
)), )),
Individual(( Individual((
title: "A Rest Under the Sunset", title: "A Rest Under the Sunset",
path: "voxygen.audio.soundtrack.town.a_rest_under_the_sunset", path: "voxygen.audio.soundtrack.town.a_rest_under_the_sunset",
length: 83.0, length: 83.0,
timing: Some(Day), timing: Day,
weather: None, weather: None,
biomes: [], biomes: [],
sites: [ sites: [
Settlement(Default), Settlement(Default),
Settlement(CliffTown), Settlement(CliffTown),
Settlement(SavannahPit),
], ],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "phoenix13032005", artist: ("phoenix13032005", None),
)), )),
Individual(( Individual((
title: "A Tale Worth Telling", title: "A Tale Worth Telling",
path: "voxygen.audio.soundtrack.town.a_tale_worth_telling", path: "voxygen.audio.soundtrack.town.a_tale_worth_telling",
length: 279.0, length: 279.0,
timing: Some(Night), timing: Night,
weather: None, weather: None,
biomes: [], biomes: [],
sites: [ sites: [
Settlement(Default), Settlement(Default),
Settlement(CliffTown), Settlement(CliffTown),
Settlement(DesertCity), Settlement(DesertCity),
Settlement(SavannahPit),
], ],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Oolnokk; mixed by cereal7", artist: ("Oolnokk; mixed by cereal7", "https://soundcloud.com/walkerhallplaysthegeetar"),
)), )),
Individual(( Individual((
title: "Bustle and Bloom", title: "Bustle and Bloom",
path: "voxygen.audio.soundtrack.town.bustle_and_bloom", path: "voxygen.audio.soundtrack.town.bustle_and_bloom",
length: 155.0, length: 155.0,
timing: Some(Day), timing: Day,
weather: None, weather: None,
biomes: [], biomes: [],
sites: [ sites: [
Settlement(Default), Settlement(Default),
Settlement(CliffTown), Settlement(CliffTown),
Settlement(SavannahPit),
], ],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "DaforLynx", artist: ("DaforLynx", "https://daforlynx.neocities.org/"),
)), )),
Individual(( Individual((
title: "Starlit Pathways", title: "Starlit Pathways",
path: "voxygen.audio.soundtrack.town.starlit_pathways", path: "voxygen.audio.soundtrack.town.starlit_pathways",
length: 132.0, length: 132.0,
timing: Some(Night), timing: Night,
weather: None, weather: None,
biomes: [], biomes: [],
sites: [ sites: [
Settlement(Default), Settlement(Default),
Settlement(CliffTown), Settlement(CliffTown),
Settlement(DesertCity), Settlement(DesertCity),
Settlement(SavannahPit),
], ],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "DaforLynx", artist: ("DaforLynx", "https://daforlynx.neocities.org/"),
)), )),
Individual(( Individual((
title: "Fiesta Del Pueblo", title: "Fiesta Del Pueblo",
path: "voxygen.audio.soundtrack.town.fiesta_del_pueblo", path: "voxygen.audio.soundtrack.town.fiesta_del_pueblo",
length: 96.0, length: 96.0,
timing: Some(Day), timing: Day,
weather: None, weather: None,
biomes: [], biomes: [],
sites: [ sites: [
Settlement(DesertCity), Settlement(DesertCity),
], ],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Aeronic; mixed by Robotnik", artist: ("Aeronic; mixed by Robotnik", "https://soundcloud.com/aeronic"),
)), )),
Individual(( Individual((
title: "Rest Assured", title: "Rest Assured",
path: "voxygen.audio.soundtrack.town.rest_assured", path: "voxygen.audio.soundtrack.town.rest_assured",
length: 189.0, length: 189.0,
timing: Some(Day), timing: Day,
weather: None, weather: None,
biomes: [], biomes: [],
sites: [ sites: [
Settlement(Default), Settlement(Default),
Settlement(CliffTown), Settlement(CliffTown),
Settlement(SavannahPit),
], ],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "badbbad", artist: ("badbbad", "https://soundcloud.com/tomerbarnea"),
)), )),
Individual(( Individual((
title: "I'm Home", title: "I'm Home",
path: "voxygen.audio.soundtrack.town.im_home", path: "voxygen.audio.soundtrack.town.im_home",
length: 125.0, length: 125.0,
timing: Some(Night), timing: Night,
weather: None, weather: None,
biomes: [], biomes: [],
sites: [ sites: [
Settlement(Default), Settlement(Default),
Settlement(CliffTown), Settlement(CliffTown),
Settlement(SavannahPit),
], ],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "badbbad", artist: ("badbbad", "https://soundcloud.com/tomerbarnea"),
)), )),
// Cave music // Cave music
@ -604,7 +641,7 @@
biomes: [], biomes: [],
sites: [Cave], sites: [Cave],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "DragonDee", artist: ("DragonDee", "https://soundcloud.com/deanna-rusnock"),
)), )),
Individual(( Individual((
title: "Cavernous Hollow", title: "Cavernous Hollow",
@ -615,7 +652,7 @@
biomes: [], biomes: [],
sites: [Cave], sites: [Cave],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "GeekyGami", artist: ("GeekyGami", "https://geekygami.newgrounds.com/audio/"),
)), )),
Individual(( Individual((
title: "Saturated Hallows", title: "Saturated Hallows",
@ -626,7 +663,7 @@
biomes: [], biomes: [],
sites: [Cave], sites: [Cave],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Flashbang", artist: ("Flashbang", "https://soundcloud.com/unboundir0n-m4n"),
)), )),
Individual(( Individual((
title: "Mineral Deposits", title: "Mineral Deposits",
@ -637,7 +674,7 @@
biomes: [], biomes: [],
sites: [Cave], sites: [Cave],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Aeronic", artist: ("Aeronic", "https://soundcloud.com/aeronic"),
)), )),
Individual(( Individual((
title: "Down The Rabbit Hole", title: "Down The Rabbit Hole",
@ -648,7 +685,7 @@
biomes: [], biomes: [],
sites: [Cave], sites: [Cave],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "badbbad", artist: ("badbbad", "https://soundcloud.com/tomerbarnea"),
)), )),
// Dungeon music // Dungeon music
@ -664,7 +701,7 @@
Dungeon(Old), Dungeon(Old),
], ],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Tiny", artist: ("Tiny", None),
)), )),
Individual(( Individual((
title: "Cobbled Halls", title: "Cobbled Halls",
@ -677,7 +714,7 @@
Dungeon(Old), Dungeon(Old),
], ],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Crow", artist: ("Crow", None),
)), )),
Individual(( Individual((
title: "Dank Dungeon", title: "Dank Dungeon",
@ -690,7 +727,7 @@
Dungeon(Old), Dungeon(Old),
], ],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Aeronic", artist: ("Aeronic", "https://soundcloud.com/aeronic"),
)), )),
Individual(( Individual((
title: "Ruination", title: "Ruination",
@ -703,7 +740,7 @@
Dungeon(Old), Dungeon(Old),
], ],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Aeronic", artist: ("Aeronic", "https://soundcloud.com/aeronic"),
)), )),
Individual(( Individual((
title: "Vast Onslaught", title: "Vast Onslaught",
@ -716,7 +753,7 @@
Dungeon(Old), Dungeon(Old),
], ],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Aeronic", artist: ("Aeronic", "https://soundcloud.com/aeronic"),
)), )),
Individual(( Individual((
title: "Sacred Temple", title: "Sacred Temple",
@ -729,7 +766,7 @@
Dungeon(Old), Dungeon(Old),
], ],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Aeronic", artist: ("Aeronic", "https://soundcloud.com/aeronic"),
)), )),
Individual(( Individual((
title: "The Undergrowth", title: "The Undergrowth",
@ -742,7 +779,7 @@
Dungeon(Gnarling), Dungeon(Gnarling),
], ],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "Oolnokk", artist: ("Oolnokk", "https://soundcloud.com/walkerhallplaysthegeetar"),
)), )),
Individual(( Individual((
title: "Jungle Ambient", title: "Jungle Ambient",
@ -755,7 +792,20 @@
Dungeon(Gnarling), Dungeon(Gnarling),
], ],
music_state: Activity(Explore), music_state: Activity(Explore),
artist: "badbbad", artist: ("badbbad", "https://soundcloud.com/tomerbarnea"),
)),
Individual((
title: "Thrumming Waters",
path: "voxygen.audio.soundtrack.dungeon.thrumming_waters",
length: 100.0,
timing: None,
weather: None,
biomes: [],
sites: [
Dungeon(Gnarling),
],
music_state: Activity(Explore),
artist: ("Jeremiah Sweeney", "https://soundcloud.com/jsweeney743"),
)), )),
// Combat Music // Combat Music
@ -773,7 +823,7 @@
("voxygen.audio.soundtrack.combat.barred_paths.barred_paths-loop", 54.0, Activity(Combat(High)), None), ("voxygen.audio.soundtrack.combat.barred_paths.barred_paths-loop", 54.0, Activity(Combat(High)), None),
("voxygen.audio.soundtrack.combat.barred_paths.barred_paths-end", 6.0, Transition(Combat(High), Explore), None), ("voxygen.audio.soundtrack.combat.barred_paths.barred_paths-end", 6.0, Transition(Combat(High), Explore), None),
], ],
artist: "DaforLynx", artist: ("DaforLynx", "https://daforlynx.neocities.org/"),
), ),
Segmented( Segmented(
title: "Reversal", title: "Reversal",
@ -788,7 +838,7 @@
("voxygen.audio.soundtrack.combat.reversal.reversal-loop", 60.0, Activity(Combat(High)), None), ("voxygen.audio.soundtrack.combat.reversal.reversal-loop", 60.0, Activity(Combat(High)), None),
("voxygen.audio.soundtrack.combat.reversal.reversal-end", 4.0, Transition(Combat(High), Explore), None), ("voxygen.audio.soundtrack.combat.reversal.reversal-end", 4.0, Transition(Combat(High), Explore), None),
], ],
artist: "DaforLynx", artist: ("DaforLynx", "https://daforlynx.neocities.org/"),
), ),
] ]
) )

BIN
assets/voxygen/audio/soundtrack/dungeon/thrumming_waters.ogg (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/voxygen/audio/soundtrack/overworld/torii.ogg (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/voxygen/audio/soundtrack/town/into_the_mines.ogg (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -541,6 +541,8 @@ impl AudioFrontend {
pub fn stop_all_ambience(&mut self) { self.ambient_channels.retain(|x| Some(x).is_none()) } pub fn stop_all_ambience(&mut self) { self.ambient_channels.retain(|x| Some(x).is_none()) }
pub fn stop_all_music(&mut self) { self.music_channels.retain(|x| Some(x).is_none()) }
// Sfx channels do not repopulate themselves yet // Sfx channels do not repopulate themselves yet
pub fn stop_all_sfx(&mut self) { pub fn stop_all_sfx(&mut self) {
if let Some(audio_stream) = &self.audio_stream { if let Some(audio_stream) = &self.audio_stream {

View File

@ -94,8 +94,8 @@ pub struct SoundtrackItem {
/// transitions) /// transitions)
#[serde(default)] #[serde(default)]
activity_override: Option<MusicActivity>, activity_override: Option<MusicActivity>,
/// Song artist /// Song artist and website
artist: String, artist: (String, Option<String>),
} }
#[derive(Clone, Debug, Deserialize)] #[derive(Clone, Debug, Deserialize)]
@ -108,7 +108,7 @@ enum RawSoundtrackItem {
biomes: Vec<(BiomeKind, u8)>, biomes: Vec<(BiomeKind, u8)>,
sites: Vec<SiteKindMeta>, sites: Vec<SiteKindMeta>,
segments: Vec<(String, f32, MusicState, Option<MusicActivity>)>, segments: Vec<(String, f32, MusicState, Option<MusicActivity>)>,
artist: String, artist: (String, Option<String>),
}, },
} }
@ -456,7 +456,7 @@ impl MusicMgr {
self.next_track_change = track.length + silence_between_tracks_seconds; self.next_track_change = track.length + silence_between_tracks_seconds;
if audio.music_enabled() { if audio.music_enabled() {
self.current_track = String::from(&track.title); self.current_track = String::from(&track.title);
self.current_artist = String::from(&track.artist); self.current_artist = String::from(&track.artist.0);
} else { } else {
self.current_track = String::from("None"); self.current_track = String::from("None");
self.current_artist = String::from("None"); self.current_artist = String::from("None");

View File

@ -1323,6 +1323,9 @@ impl PlayState for SessionState {
}; };
}, },
HudEvent::CharacterSelection => { HudEvent::CharacterSelection => {
global_state.audio.stop_all_music();
global_state.audio.stop_all_ambience();
global_state.audio.stop_all_sfx();
self.client.borrow_mut().request_remove_character() self.client.borrow_mut().request_remove_character()
}, },
HudEvent::Logout => { HudEvent::Logout => {