public MidiMonitorWindow(MidiPlayer mp) { MidiPlayer = mp; InitializeComponent(); _timer.Tick += (sender, args) => OnPropertyChanged("MidiPlayer"); _timer.IsEnabled = true; }
public void Init(IExtensionAccess contract) { _access = contract; _midiPlayer = new MidiPlayer(); _access.PlaybackManagerInstance.RegisterAudioPlayer(_midiPlayer.Extensions, _midiPlayer); }