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

            audioThreads.Maximum = Environment.ProcessorCount;

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

            audioThresh.Value        = ls.EventVelocityThreshold;
            visibleThresh.Value      = ls.NoteVelocityThreshold;
            audioThreads.Value       = ls.EventPlayerThreads;
            removeOverlaps.IsChecked = loaderSettings.RemoveOverlaps;
        }
Ejemplo n.º 2
0
 public MIDILoaderSettings GetMIDILoaderSettings()
 {
     return(loaderSettings.Clone());
 }