Mobile lyrics animated worse than web. The fill restarted from the player's reported time on every progress update and every word boundary, so it hitched. It also had a hard edge, the playing line re-wrapped when it became active, and line color and blur changes snapped.
Timing:usePlaybackClock keeps playback time on the UI thread, running linearly between progress updates. It resets only when it drifts more than 150ms from the player, the same idea as web's 80ms drift check.
Soft edge: each word of the playing line is a MaskedView whose mask is the word, over a gradient 2.5× its width that slides from the dim end to the bright end, matching web's 40–60% gradient. This adds @react-native-masked-view/masked-view at Expo SDK 58's pinned 0.3.2, so it needs a native rebuild.
Layout: every timed line is laid out word by word all the time, so the playing line can't re-wrap.
Line changes: each line's opacity (0.35 when not playing) and blur fade over 300ms with Reanimated's CSS transitions. Text is drawn in the foreground color under that opacity, so the lyricsInactive color is gone.
Typecheck passes. Not run on a device or simulator.
Made by Claude Opus 5.5 in Claude Code (via T3 Code).
Mobile lyrics animated worse than web. The fill restarted from the player's reported time on every progress update and every word boundary, so it hitched. It also had a hard edge, the playing line re-wrapped when it became active, and line color and blur changes snapped.
- **Timing:** `usePlaybackClock` keeps playback time on the UI thread, running linearly between progress updates. It resets only when it drifts more than 150ms from the player, the same idea as web's 80ms drift check.
- **Soft edge:** each word of the playing line is a `MaskedView` whose mask is the word, over a gradient 2.5× its width that slides from the dim end to the bright end, matching web's 40–60% gradient. This adds `@react-native-masked-view/masked-view` at Expo SDK 58's pinned 0.3.2, so it needs a native rebuild.
- **Layout:** every timed line is laid out word by word all the time, so the playing line can't re-wrap.
- **Line changes:** each line's opacity (0.35 when not playing) and blur fade over 300ms with Reanimated's CSS transitions. Text is drawn in the foreground color under that opacity, so the `lyricsInactive` color is gone.
Typecheck passes. Not run on a device or simulator.
Made by Claude Opus 5.5 in Claude Code (via T3 Code).
🤖 Generated with [Claude Code](https://claude.com/claude-code)
The mobile fill restarted on every progress update and word boundary, so it
hitched; it had a hard edge, re-wrapped the playing line, and line changes
snapped. A UI-thread clock now drives fills and resets only on drift, words
fill through a gradient mask like web, lines always lay out word by word,
and opacity and blur fade between lines.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Mobile lyrics animated worse than web. The fill restarted from the player's reported time on every progress update and every word boundary, so it hitched. It also had a hard edge, the playing line re-wrapped when it became active, and line color and blur changes snapped.
usePlaybackClockkeeps playback time on the UI thread, running linearly between progress updates. It resets only when it drifts more than 150ms from the player, the same idea as web's 80ms drift check.MaskedViewwhose mask is the word, over a gradient 2.5× its width that slides from the dim end to the bright end, matching web's 40–60% gradient. This adds@react-native-masked-view/masked-viewat Expo SDK 58's pinned 0.3.2, so it needs a native rebuild.lyricsInactivecolor is gone.Typecheck passes. Not run on a device or simulator.
Made by Claude Opus 5.5 in Claude Code (via T3 Code).
🤖 Generated with Claude Code
55de91084cto2c0ab711d6