Compile midi as module