Beispiel #1
0
        private void Start_Click(object sender, RoutedEventArgs e)
        {
            if (ValidateMidiChannel())
            {
                _clock.OutputPorts.Clear();
                _clock.OutputPorts.Add(_port);

                _clock.Start();

                System.Diagnostics.Debug.WriteLine("Clock started");
            }
            else
            {
                System.Diagnostics.Debug.WriteLine("Invalid channel entry for clock.");
            }
        }
 public void StartClock()
 {
     _clock.Start();
 }