chore: 支持背景音乐设置

This commit is contained in:
2025-12-15 17:44:10 +08:00
parent 4a829b7dfc
commit 5fad2f97f8
8 changed files with 890 additions and 707 deletions

View File

@@ -864,6 +864,10 @@
"role": "manager"
}
],
"music": {
"enabled": true,
"filePath": "/uploads/1765791477402.mp3"
},
"displayConfig": {
"showBonusModule": true,
"individual": {
@@ -950,36 +954,5 @@
"battleEndTime": {
"date": "2026-02-08",
"time": "00:00:00"
},
"drumConfig": {
"sound": {
"volume": 1,
"frequency1": 150,
"frequency2": 100,
"attackTime": 0.01,
"decayTime": 0.3,
"type1": "sine",
"type2": "triangle",
"enabled": false
},
"animation": {
"beatInterval": 200,
"beatScale": 1.3,
"beatTranslateY": -15,
"beatRotate": 5,
"idlePulseDuration": 2,
"beatDuration": 100,
"enabled": true
},
"pattern": {
"strongBeats": [
1,
4
],
"totalBeats": 4,
"accentMultiplier": 1.5,
"accentFrequencyOffset": 10,
"accentAnimation": 50
}
}
}