fix: bpm timing

This commit is contained in:
2025-05-14 13:33:58 +02:00
parent d751ff4505
commit c33a9b49e8
6 changed files with 51 additions and 20 deletions

View File

@@ -1,6 +1,15 @@
import { createAudioStore } from "@elron/svelte-audio-store";
import { type ClassValue, clsx } from "clsx";
import { twMerge } from "tailwind-merge";
const sounds = {
menuHeartbeat: "/audio/menuHeartbeat.mp3",
menuBack: "/audio/menuBack.wav",
menuHit: "/audio/menuHit.wav",
};
export const gameSounds = createAudioStore(sounds);
export function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}