A viewpoint approach to symbolic music transformation