Turns out that if you have structured your file handling code correctly from the start, then implementing drag and drop is actually easier than anticipated.
Shoutout to @nakura for great DJ intros that are perfect for testing a waveform viewer.
@grizeldi Whoa, that is so cool! Thanks for using my tracks to test it.