add ability to record OSC/midi events to file