A music recognition system and editor