Music analysis and point-set compression