On-Line Melody Extraction From Polyphonic Audio