Skip to content

fix: stretcher gapless playback race conditions and stability improvements#17

Merged
ivgtr merged 36 commits intomainfrom
fix/stretcher-gapless-race
Feb 10, 2026
Merged

fix: stretcher gapless playback race conditions and stability improvements#17
ivgtr merged 36 commits intomainfrom
fix/stretcher-gapless-race

Conversation

@ivgtr
Copy link
Owner

@ivgtr ivgtr commented Feb 10, 2026

Summary

  • Stretcher エンジンのギャップレス再生における複数の race condition を修正
  • pause 中の setTempo() で再生位置がずれるバグを修正
  • resume 時の fade-in アーティファクト、onAllDead 二重呼び出し、スケジューリング競合などを解消
  • バックグラウンドタブでの再生安定性を向上(lookahead 拡大、proactive schedule)
  • WSOLA の NCC 参照ウィンドウ修正と tempo≈1.0 バイパスの追加
  • テストカバレッジを大幅に拡充(unit + browser テスト追加)
  • デモサイトのセクション構造を examples/ に統合

Test plan

  • npm run typecheck パス
  • npm run lint パス
  • npm run test:unit — 593 テストすべてパス
  • npm run test:browser — ブラウザテスト通過確認
  • デモサイトで pause → setTempo → resume の位置ずれが解消されていることを確認

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release:minor Trigger minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant