added library for generating midi files