Hey all,<br /><br />I've been dev-ing MIDI/audio programs in C++ & Python for a while, but I'm struggling with one concept:<br />How to approach time. If i want to "schedule" events for the future, what is the "correct"<br />way to do this?<br /><br />I've read some docs about Jack's timebase & transport system, ideally I want to support that,<br />but I dont seem to grasp the "whole".<br /><br />I could write a class that has a "MIDI clip" inside it, and then play back multiple<br />of these clips from thier classes. Or should I approach more along the lines of each<br />MIDI clip being inside a std::vector<MidiClip>? <br /><br />How does eg: Seq24, Ardour, RoseGarden etc approach the time management?<br />I've attempted to read docs/sources, but the projects are too big for me to understand<br />how the "time-system" works.<br /><br />Hope somebody could shed some light on this, -Harry<br /><br />PS: If there's a tutorial or simple example I could read, please say, I've googled but not found<br />any tutorial on the subject.