Seems like in 0.97a-RC7, the "volume" field has no effect for music entries in starsector-core/data/config/sounds.json.
Entries of music_campaign, music_campaign_hyperspace and maybe music_campaign_non_core are always played as if volume was 1. This is very noticeable when playing with a mod like Audio Plus which has some very small volume multipliers like 0.2 on one track, resulting in that track playing 5 times as loudly on 0.97a.
Sound effects and title music work fine.
This is happening to me on a fresh install of Starsector 0.97a-RC7, Windows 10, no mods and zero changes to the JRE or settings or vmparams.
To reproduce:
1. Open starsector-core/data/config/sounds.json
2. Replace
"music_campaign":[
{"file":"miscallenous_corvus_campaign_music.ogg","source":"sounds/music/music.bin","volume":1},
]
with
"music_campaign":[
{"file":"scavenge_music_v1.ogg","source":"sounds/music/music.bin","volume":0},
]
This sets the volume to 0 so no audio should play, but also changes the track to the scavenge music to demonstrate that the change is in effect.
3. Start a new playthrough with the tutorial, so music_campaign starts playing
Expected behavior: No music plays because volume of music_campaign is set to 0
Observed behavior: The scavenge music plays as if volume was set to 1
In 0.96a, these exact steps lead to the expected behavior.
There's also some weird behavior where the sound volume is correct if you tab out right after the loading finishes, but it is set to 1 when you tab back in.