Description
Announce section names via text-to-speech when the active section changes
during playback. Helps guitarists keep their eyes on the fretboard instead
of looking at the screen for section transitions.
Estimated effort: ~2–3h
Requirements
Implementation
- New hook:
src/hooks/useSectionAnnounce.ts
- Toggle button in
PlayerControls.tsx
Decisions
- Web Speech API over external TTS libraries: zero bundle size, offline-capable
- Speech rate default 1.2 to keep announcements brief and non-intrusive
- Upgrade path: pre-render section names into AudioBuffers via OfflineAudioContext if latency becomes an issue
Description
Announce section names via text-to-speech when the active section changes
during playback. Helps guitarists keep their eyes on the fretboard instead
of looking at the screen for section transitions.
Estimated effort: ~2–3h
Requirements
SpeechSynthesis)Implementation
src/hooks/useSectionAnnounce.tsPlayerControls.tsxDecisions