Originally posted by Jinny Morris:
...I can't figure out from what I'm reading how a MIDI tick translates into "real" time in seconds or milliseconds...
Well, despite being a musician (and somewhat of a geek), I know very little about MIDI.
The documentation for MidiEvent says, "The duration of a tick is specified by the timing information contained in the MIDI file or Sequence object." And the constructor Sequence(float divisionType, int resolution)...
Constructs a new MIDI sequence with the specified timing division type and timing resolution. The division type must be one of the recognized MIDI timing types. For tempo-based timing, divisionType is PPQ (pulses per quarter note) and the resolution is specified in ticks per beat. For SMTPE timing, divisionType specifies the number of frames per second and the resolution is specified in ticks per frame.
So a Sequence looks like the entry point for controlling this, but I think I need some fundamentals about how MIDI tempo works before understanding how to use it. I found this
MIDI Timing Concepts page that looks pretty good. See if that helps...