midi->text: write on/off as a single event