From 50a6d40e8ec4ff2957099dc7e5d5b28c7f0c8e06 Mon Sep 17 00:00:00 2001 From: Marco Costa Date: Sat, 31 Oct 2026 16:56:43 -0300 Subject: [PATCH] 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 --- public/js/city/audio.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/public/js/city/audio.js b/public/js/city/audio.js index 744bc1c..7728c93 100755 --- a/public/js/city/audio.js +++ b/public/js/city/audio.js @@ -379,7 +379,9 @@ class CityAudioEngine { this._tone(466.16, 0.25, { type: 'sawtooth', peak: 0.16 }); break; 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; case 'thunder': this.thunder();