public MidiFileSequencer(Synthesizer synth)
{
Synth = synth;
_eventIndex = 0;
_division = 0;
PlaybackSpeed = 1;
IsPlaying = false;
_blockList = new bool[SynthConstants.DefaultChannelCount];
_finished = new FastList<Action>();
synth.AddMidiMessageProcessed(MidiEventProcessed);
}