On Automatic Pattern Recognition and Acquisition of Printed Music