Resilient Accompanist
A machine accompanist that survives your mistakes — wrong notes, skips, hesitations — and gracefully finds its place again instead of derailing. Two followers run in parallel (smooth DTW + error-aware HMM); a confidence supervisor hands control to whichever is trustworthy.
Play it yourself — and fumble
Home-row keys play the C-major scale. Play “Twinkle Twinkle” (C C G G A A G…) — then deliberately hit a wrong key, skip ahead, or pause and repeat a note. Watch the supervisor hand control to the HMM and the accompaniment hold its place instead of derailing.
MIDI: not requested
The dual DTW ⇄ HMM supervisor
The baked demo deliberately fumbles in order — clean phrase, a wrong-note run, recovery, a skip-ahead, a hesitation/repeat, then a clean resolution — so you can hear and see each catch. Full design notes and references: src/app/dream/391-resilient-accompanist/README.md