I'm using mousestate to get the horizontal mouse position when hovering over a waveform. I have a set of ranges on the waveform that change, and there can be any number of these ranges.
Essentially I need to display multiple start and end points ala the select tool in waveform~, and give some visual feedback to the user when they hover over a range.
I can store the ranges, but can't really query the data how I would like. With one range it would be something like "if mouse position > start of range & < end of range then highlight", but with multiple ranges that change I've no idea what object(s) to use.
Perhaps I need to get in to SQL for this task?