melody shape : melodic analysis