start work on selection functions
rewrite into signal objects with an 'audio' array and a 'curve' array, for different purposes; calculate distance from click to curve, now able to select curves based on proximity