Preprocessing of Klapuri's polyphonic note detection