From 4b0cc378f90fc5a8dcb13feba33866d7d952fecf Mon Sep 17 00:00:00 2001 From: Mohammed Al-yaseen Date: Thu, 15 May 2025 01:41:22 +0300 Subject: [PATCH] Adjust cat sound volumes in cat-animation.js for better audio balance, setting meow to 0.1 and paw to 0, while removing the paw sound initialization. --- js/cat-animation.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/js/cat-animation.js b/js/cat-animation.js index 3c30d72..0898b91 100644 --- a/js/cat-animation.js +++ b/js/cat-animation.js @@ -30,12 +30,10 @@ class Cat { // Create audio elements with error handling try { this.sounds.meow = new Audio('sounds/meow.wav'); - this.sounds.paw = new Audio('sounds/paw.wav'); // Set volume for each sound - this.sounds.meow.volume = 0.4; - this.sounds.purr.volume = 0.3; - this.sounds.paw.volume = 0.2; + this.sounds.meow.volume = 0.1; + this.sounds.paw.volume = 0; // Add error handling for each sound Object.entries(this.sounds).forEach(([key, sound]) => {