[β οΈ JOURNEY] Building MP3 AI Manager for Music Hoarders (Day 29)

Day 29
Hours worked/Total: 1.5/88.5
Day Recap
Finally made audio scrubbable on the waveform. Had to fight click registration issues and properly pass events between the view and viewmodel. Now, playback updates in real-time based on user input.
What I Did
- Implemented press logic on the waveform canvas.
- Click events weren’t registering—turns out, IsHitTestVisible = false was blocking input.
- Passing Data Between View and ViewModel:
- Needed to send scrub data from the view (where the waveform is drawn) to the viewmodel (where playback is handled).
- Now, dragging across the waveform updates playback position in real-time.
- Playback jumps to the clicked position instantly. π
Remarks
Scrubbing shouldn’t be this hard, yet here we are.
Every tiny UI interaction needs threading workarounds, event forwarding, and manual data synchronization.
At least now, users can jump around the track smoothly. Small victory.
Next Goals
Have been procrastinating, but still want colorful RGB!