Commit Graph

10 Commits

Author SHA1 Message Date
Oliver 0fa6236211 chore: comment out debug log 2026-05-26 10:12:10 +08:00
Oliver 8b6fabda12 feat: StartOffset
- 实现startOffset
- 修复EndOffset = 0 + 循环播放时,音乐会大量重复播放的错误。
- 增加数据校验和 BeatClock 联动。StartOffset不正确时停止bar+级 callback。
- BeatClock 现在会在每次重新播放时重启,以解决EndOffset配置错误被舍弃时,拍子对不上的问题。
2026-05-12 15:47:04 +08:00
Oliver 4688484a6d refactor: 移除未使用的变量 2026-05-08 16:40:50 +08:00
Oliver ab6e9e74e0 WIP: StartOffset 2026-05-07 12:09:16 +08:00
Oliver 65babff4bd feat: 未配置bpm时不启动回调 2026-04-27 20:10:32 +08:00
Oliver 1fd2d2ff18 WIP: 无效音乐配置不会启动音乐回调 2026-04-27 19:57:48 +08:00
Oliver a4dee6d59b refactor: WaitForAlignment coroutine use BeatClock.cs insted of calculate independently. 2026-04-21 15:01:55 +08:00
Oliver 2b34d0bf94 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 0fb0c51f65 feat: music callback 2026-04-16 11:52:55 +08:00
Oliver 49a502e647 WIP: Music callback
- 头几拍会抖动一下,导致对不上拍子
2026-04-07 10:06:02 +08:00