code: public MidiEvent[] getMidiEventsFor(Tempo tempo, long lastPosInTicks) throws InvalidMidiDataException
    {
      TempoMessage mt = new TempoMessage(tempo);
      MidiEvent me = new MidiEvent(mt,lastPosInTicks);
      MidiEvent[] events = null;//{me, new MidiEvent(new TempoMessageWA(), lastPosInTicks)};
      return events;
    }
docs: Returns the corresponding midi events for a tempo change.