object
  method advance : int -> unit
  method close : unit
  method note_off : int -> int -> float -> unit
  method note_on : int -> int -> float -> unit
  method put : int -> MIDI.event -> unit
end