Commit Graph

17 Commits

Author SHA1 Message Date
Oliver e81d6c379d refactor: 移除未使用的变量 2026-05-08 16:40:50 +08:00
Oliver af4cd4da3f WIP: StartOffset 2026-05-07 12:09:16 +08:00
Oliver 0f30f98846 refactor: 重构 Transition 查询逻辑,移除 PathId 改用 ContainerId 匹配 2026-04-28 15:30:01 +08:00
Oliver 61414b2fef feat: 未配置bpm时不启动回调 2026-04-27 20:10:32 +08:00
Oliver 5bd0135f7b WIP: 无效音乐配置不会启动音乐回调 2026-04-27 19:57:48 +08:00
Oliver f38103d2dc feature: Segment end offset 2026-04-21 17:25:48 +08:00
Oliver e46c324ac5 refactor: WaitForAlignment coroutine use BeatClock.cs insted of calculate independently. 2026-04-21 15:01:55 +08:00
Oliver 15f220a4c7 fix: change crossfade curve 2026-04-21 10:40:36 +08:00
Oliver 63c5f6766c refactor: use PlayDelayed API for audio delay and add Stop by ID support
- Replace PlayAfterDelay coroutine with AudioSource.PlayDelayed
- Add Stop(audioId) public API
- Add startWithMusic toggle
- Clean up namespace and debug macros
2026-04-17 11:20:17 +08:00
Oliver 0fdd76022d feat: SyncPoint.SameAsCurrentSegment music transition
- Add SameAsCurrentSegment mode to align new container's timeSamples with the old container's playback position, accounting for FadeInOffset
- Fix BeatClock callback burst when Restart is called with a past dspTime
- Add GetFirstLeafSource() for resolving playback position across nested containers
- Manual BeatClock.Restart replaces OnContainerEntered subscription for accurate timing with SyncPoint
2026-04-16 20:50:34 +08:00
Oliver a4e6e6eccb feat: music callback 2026-04-16 11:52:55 +08:00
Oliver 5ba9c9ef2f fix: restore missing method 2026-04-16 11:11:30 +08:00
Oliver c3b69f48f6 Merge branch 'main' into feature/MusicCallback 2026-04-16 11:06:23 +08:00
Oliver 19faccd312 feat: Add switch container functionality 2026-04-15 21:05:17 +08:00
Oliver 69944f44ea WIP: Music callback
- 头几拍会抖动一下,导致对不上拍子
2026-04-07 10:06:02 +08:00
Oliver d824d65549 使用DoTween重构淡变效果 2026-03-27 17:57:27 +08:00
Oliver b6393449c9 解决重复切换State的时候会导致重复播放对应Segment的问题。
修复FadeIn读取了FadeOut参数的问题。
增加Initial Delay功能。
重构AudioScheduler.ConfigureSource() -> SetupSource(), RegisterActiveSound(), StartPlayBack()。
移动长音频相关功能至LongAudio文件夹。
2026-03-25 17:01:38 +08:00