42773b7e-7147-4ad5-828d-da7fcf0290b8

This commit is contained in:
2026-06-23 13:52:13 +00:00
parent da18f32df2
commit f3d2e53e4f
16 changed files with 562 additions and 34 deletions
+17
View File
@@ -17,6 +17,8 @@ type SfxName =
| "expeditionDefeat" // 探险失败(下行低音)
| "prestige" // 飞升(宏大扫频)
| "achievement" // 成就解锁(亮丽琶音)
| "tideStart" // 星潮降临(神秘扫频)
| "tideEnd" // 星潮结束(柔和消退)
| "uiHover" // 界面悬停(极轻)
| "uiClick"; // 界面点击(轻确认)
@@ -249,6 +251,21 @@ class AudioEngine {
this.tone(1318.51, 0.4, "triangle", 0.18, 0.24);
break;
}
case "tideStart": {
// 神秘扫频 + 泛音列
this.sweep(330, 660, 0.8, "sine", 0.16);
this.sweep(440, 880, 0.8, "triangle", 0.08, 0.04);
this.tone(523.25, 0.5, "sine", 0.1, 0.2);
this.tone(783.99, 0.6, "sine", 0.08, 0.3);
break;
}
case "tideEnd": {
// 柔和下行消退
this.tone(659.25, 0.3, "sine", 0.14, 0);
this.tone(523.25, 0.35, "sine", 0.12, 0.1);
this.tone(392, 0.5, "triangle", 0.1, 0.22);
break;
}
case "uiHover": {
this.tone(880, 0.05, "sine", 0.05);
break;