Lower volume for sound effects (#385)

* Turn down that racket *shakes cane*

* Maybe a little lower

* Maybe 80%?

* 70?

* 30 ok?

* 65 sounds best
This commit is contained in:
Jonathan Underwood 2021-03-12 15:20:40 +09:00 committed by GitHub
parent a530d8b17f
commit 4cbf2e0eb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
});