From 4cbf2e0eb42d591d30501cd4cea1c079e718b87c Mon Sep 17 00:00:00 2001 From: Jonathan Underwood Date: Fri, 12 Mar 2021 15:20:40 +0900 Subject: [PATCH] Lower volume for sound effects (#385) * Turn down that racket *shakes cane* * Maybe a little lower * Maybe 80%? * 70? * 30 ok? * 65 sounds best --- frontend/src/app/services/audio.service.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/app/services/audio.service.ts b/frontend/src/app/services/audio.service.ts index 78b072bfc..bb765aa38 100644 --- a/frontend/src/app/services/audio.service.ts +++ b/frontend/src/app/services/audio.service.ts @@ -20,6 +20,7 @@ export class AudioService { this.isPlaying = true; this.audio.src = '../../../resources/sounds/' + name + '.mp3'; this.audio.load(); + this.audio.volume = 0.65; // 65% volume this.audio.play().catch((e) => { console.log('Play sound failed' + e); });