midi: data from infile. use option parameters.