Regenerate softer orchestral bgm

This commit is contained in:
2026-06-22 01:38:26 +09:00
parent e9dc21cb4b
commit b996f780f2
8 changed files with 285 additions and 123 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -10,7 +10,7 @@ class SoundDirector {
private currentMusicKey?: string;
private pendingMusicKey?: string;
private musicFadeTimer?: number;
private readonly musicVolume = 0.2;
private readonly musicVolume = 0.14;
registerMusicTracks(tracks: AudioTrackMap) {
this.musicTracks = tracks;
@@ -29,7 +29,7 @@ class SoundDirector {
if (AudioContextCtor) {
this.context = new AudioContextCtor();
this.master = this.context.createGain();
this.master.gain.value = this.muted ? 0 : 0.34;
this.master.gain.value = this.muted ? 0 : 0.3;
this.master.connect(this.context.destination);
}
@@ -58,7 +58,7 @@ class SoundDirector {
}
this.master.gain.cancelScheduledValues(this.context.currentTime);
this.master.gain.linearRampToValueAtTime(muted ? 0 : 0.34, this.context.currentTime + 0.18);
this.master.gain.linearRampToValueAtTime(muted ? 0 : 0.3, this.context.currentTime + 0.18);
}
isMuted() {