feat: 配乐改用即梦生成音频文件,双曲目可选

- 新增 bgm/ 目录:bell.m4a(晨钟)/ valley.m4a(空山),96k AAC
- 配乐开关升级为曲 select(关/晨钟/空山),移动端走底部面板
- Web Audio 合成引擎整体移除,改 <audio> 循环 + 手动淡入淡出
- 目标音量 0.25,压在人声之下;旧布尔偏好迁移为"晨钟"
- deploy.sh 同步 bgm/ 目录;run.md 同步说明

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
selfrelease
2026-10-05 12:19:52 +08:00
co-authored by Devin
parent 0b0da2d002
commit 42d5606ab5
8 changed files with 74 additions and 287 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
* - /api/tts 不拦截,直接透传网络
*/
const CACHE = "fj-shell-v1";
const SHELL = ["/", "/index.html", "/style.css?v=9", "/app.js?v=10", "/icon.svg", "/icon-180.png", "/icon-192.png", "/icon-512.png", "/manifest.json"];
const SHELL = ["/", "/index.html", "/style.css?v=10", "/app.js?v=12", "/icon.svg", "/icon-180.png", "/icon-192.png", "/icon-512.png", "/manifest.json"];
self.addEventListener("install", (e) => {
e.waitUntil(caches.open(CACHE).then((c) => c.addAll(SHELL)).then(() => self.skipWaiting()));