public void Play()
{
if (playing == true)
return;
//Clear the current programs for the channels.
Array.Clear(currentPrograms, 0, currentPrograms.Length);
//Clear vol, pan, and tune
ResetControllers();
//set bpm
_MidiFile.BeatsPerMinute = 120;
//Let the synth know that the sequencer is ready.
playing = true;
}