Exemplo n.º 1
0
 void BuildSequence()
 {
     if(Times.Value != null && Values.Value != null && Lengths.Value != null && Velocities.Value != null && Length.Value > 0)
     {
         FSequence = new MidiSequence(Times.Value, 
                                      Values.Value, 
                                      Lengths.Value, 
                                      Velocities.Value, 
                                      Length.Value, 
                                      MidiEvents.Value as ManualMidiEvents, 
                                      AudioService.Engine);
         
         FNeedsInit = true;
     }
     else
         FSequence = null;
 }