feat:son à 20%

This commit is contained in:
Baptiste 2023-12-28 13:53:16 +01:00
parent f59a23476b
commit 9c7b9649c5

View file

@ -2,6 +2,7 @@ class Sound{
constructor(url){ constructor(url){
this.sound = new Audio(url); this.sound = new Audio(url);
this.sound.type = "audio/mp3"; this.sound.type = "audio/mp3";
this.sound.volume = 0.2;
} }
play(){ play(){