Lower threat-demo voiceover volume for a softer feel
CI / build (push) Has been cancelled

This commit is contained in:
2026-08-13 14:28:07 +05:00
parent 51c05ccc3a
commit 5c314306a5
+1 -1
View File
@@ -382,7 +382,7 @@ export function ThreatCinematic({ scenario, autoPlay = false, chrome = true, bar
const speakNow = () => { const speakNow = () => {
synth.cancel() synth.cancel()
const u = new SpeechSynthesisUtterance(cue.text) const u = new SpeechSynthesisUtterance(cue.text)
u.lang = 'en-GB'; u.rate = 0.82; u.pitch = 0.84 u.lang = 'en-GB'; u.rate = 0.82; u.pitch = 0.84; u.volume = 0.75
// Muting or pausing calls synth.cancel(), which fires a benign // Muting or pausing calls synth.cancel(), which fires a benign
// "canceled"/"interrupted" error event on the utterance — swallow it. // "canceled"/"interrupted" error event on the utterance — swallow it.
u.onerror = () => {} u.onerror = () => {}