Example #1
0
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
            Window_SourceInitialized(this, null);
            Focus();
            Topmost = true;
            Topmost = false;
            BringIntoView();
            Activate();
            Keyboard.Focus(this);

            loaderSettings = settings.GetMIDILoaderSettings();
            var ls = loaderSettings.Clone();

            audioThreads.Maximum = Environment.ProcessorCount;

            audioThresh.Value        = ls.EventVelocityThreshold;
            visibleThresh.Value      = ls.NoteVelocityThreshold;
            audioThreads.Value       = ls.EventPlayerThreads;
            removeOverlaps.IsChecked = loaderSettings.RemoveOverlaps;

            if (settings.General.SkipLoadSettings)
            {
                ContinueLoading();
            }
        }
Example #2
0
 public MIDILoaderSettings GetMIDILoaderSettings()
 {
     return(loaderSettings.Clone());
 }