Reduce crossfade time

This commit is contained in:
Ketchetwahmeegwun T. Southall 2022-01-29 20:01:10 -08:00
parent 0389aced17
commit cc7a736ae9

View File

@ -38,7 +38,7 @@ export function playSong(name: string) {
} else { } else {
clearInterval(cl) clearInterval(cl)
} }
}, 100) }, 50)
})(playingSongAudio) })(playingSongAudio)
} }
playingSongAudio = new Audio() playingSongAudio = new Audio()
@ -59,7 +59,7 @@ export function playSong(name: string) {
} else { } else {
clearInterval(cl) clearInterval(cl)
} }
}, 100) }, 50)
})(playingSongAudio) })(playingSongAudio)
playingSongAudio.src = audio[name] playingSongAudio.src = audio[name]