Viet Phan X

[⚠️ JOURNEY] Building MP3 AI Manager for Music Hoarders (Day 29)

Author AvatarViet Phan
0
Feb 13, 2025
1 min read

Day 29

Hours worked/Total: 1.5/88.5

Avaloniascrubbing

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!

πŸ‘¨β€πŸ’» Software DevelopmentπŸš€ Journey

Got an Idea?

Let's Build It!

I can bring your ideas to life - FREE of charge

Book a free consultation and let’s identify opportunities to turn your vision into a successful business

15 min call

Get idea feedback

from 17+ consultations
?
Usually responds within 24h

If You Like what I do
You can buy me a coffee πŸ‘‡
Send β˜• via PayPalSend β˜• with Bitcoin

πŸ€™ Let's connect

Made by Viet Phan Β© 2018-2025Privacy Policy