Update script.js

This commit is contained in:
Voxel 2025-04-14 09:58:31 -04:00 committed by GitHub
parent afeb043b42
commit 1d37ff53d3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,12 +9,12 @@ function formatTime(ms) {
function getRandomAlarmSound() { function getRandomAlarmSound() {
const sounds = [ const sounds = [
'alarm.mp3', 'alarm.wav',
'alarm2.mp3', 'alarm2.wav',
'alarm3.mp3', 'alarm3.wav',
'alarm4.mp3', 'alarm4.wav',
'alarm5.mp3', 'alarm5.wav',
'alarm6.mp3' 'alarm6.wav'
]; ];
const randomIndex = Math.floor(Math.random() * sounds.length); const randomIndex = Math.floor(Math.random() * sounds.length);
return sounds[randomIndex]; return sounds[randomIndex];