fix(audio): increase footstep volume and duration

Raise peak amplitude from 0.12 to 0.3 and extend duration from 0.06 to 0.07 seconds for better walking feedback
This commit is contained in:
2026-10-31 16:56:43 -03:00
parent 4f497844bc
commit 50a6d40e8e
+3 -1
View File
@@ -379,7 +379,9 @@ class CityAudioEngine {
this._tone(466.16, 0.25, { type: 'sawtooth', peak: 0.16 }); this._tone(466.16, 0.25, { type: 'sawtooth', peak: 0.16 });
break; break;
case 'footstep': case 'footstep':
this._tone(90 + Math.random() * 40, 0.06, { type: 'triangle', peak: 0.12, glideTo: 60 }); // Louder than the other one-shots: footsteps are the main
// feedback while walking and sit low on the spectrum.
this._tone(90 + Math.random() * 40, 0.07, { type: 'triangle', peak: 0.3, glideTo: 60 });
break; break;
case 'thunder': case 'thunder':
this.thunder(); this.thunder();