drumstick  0.5.0
Sequencer Output

Detailed Description

SequencerOutputThread provides MIDI sequence playback.

This is an abstract class that must be extended providing an implementation for the pure virtual methods: SequencerOutputThread::hasNext() and SequencerOutputThread::nextEvent() before using it for MIDI sequence playback. You can use any structure or class you prefer to store the SequencerEvent objects, but they must be provided ordered by time. A simplistic Song definition may be:

typedef QList<SequencerEvent> Song;

Using this class is optional. You may prefer another mechanism to manage playback actions. This class uses a thread to manage the sequence playback as a background task.