midi parser, generator by lisp