A midi generator which can automatically compose songs