refactor: split sounds.ts into audio/ modules

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dorian
2026-03-08 22:11:58 +00:00
co-authored by Claude Opus 4.6
parent 94910820f8
commit d998cb3ad0
12 changed files with 2739 additions and 6 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
<script setup lang="ts">
import { ref, computed, onMounted } from 'vue'
import { getVoiceMap, isKokoroReady, isKokoroLoading } from '../game/tts'
import { speak, ensureAudioContext } from '../game/sounds'
import { speak, ensureAudioContext } from '../game/audio'
const voiceMap = getVoiceMap()
const allProfiles = Object.entries(voiceMap).map(([name, { voice, speed }]) => ({