feat(ios): blurred artwork player backdrop that moves with the track's tempo #72
All Vouch review confidence checks passed
Residual risk 0.22 = Change Risk (0.40) × (1 − Review Confidence (0.45)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 311 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 92% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.344
Shallow Review Depth
shallow_review_depth
0.344
Real PR Conversation Timeline
1 comments
"Review active on #72"
general
weight: 0.35
github-actions[bot]
Why
The full player's background looked muddy. It averaged each quarter of the cover into one colour, clamped the colours dark, and laid up to 90 % black on top, so most covers turned into flat brown or grey.
What
CoverBackdrop, iOS): the backdrop is now the cover itself. A 32 px copy is blurred and saturated once per cover with Core Image, then zoomed well past the screen diagonal and blurred again. Two copies of it turn slowly, which turns the cover into soft colour fields instead of a stretched picture.- The phase is counted in beats and only advances while playing. Pausing freezes the backdrop, and a new tempo changes the speed without a jump, whatever order the play-state and tempo changes arrive in.
TrackInfo.bpm: Option<f64>is parsed from the v1 track JSON (bpm, nullable) and from the v2 API (0means unknown). It is exposed on the FFITrackwith aNonedefault, so existing Swift and Kotlin constructors still compile. No extra requests: the field is already in the responses we download.bpm; old cache files still decode.uniffi-bindgen-swift. The C header is unchanged.No button, menu or control in the player changed.
Testing
cargo test -p tonearm-core -p tonearm-ffi --lockedpasses, including a newbpm_is_none_when_unknowntest.ios-buildcheck compiles it and uploads the unsigned.ipa. The look was checked in a browser mockup that uses the same parameters.- Toggle Light/Dark in Control Center with the player open and confirm the backdrop follows.
- Watch battery use with the player open while playing.
🤖 Generated with Claude Code
https://claude.ai/code/session_01F1yirR4QVZeoiUECrdfRZV