public MainViewModel()
        {
            _watcher.InputPortsEnumerated  += _watcher_InputPortsEnumerated;
            _watcher.OutputPortsEnumerated += _watcher_OutputPortsEnumerated;

            // these are for debugging only
            _watcher.OutputPortDescriptors.VectorChanged += OutputPortDescriptors_VectorChanged;
            _watcher.InputPortDescriptors.VectorChanged  += InputPortDescriptors_VectorChanged;

            // the built-in synth requires an add-on package for the solution, and isn't very good anyway
            // this is not a required setting. However, if you don't ignore it, you need to add the DLS package
            // via project->add reference->universal windows->extensions
            _watcher.IgnoreBuiltInWavetableSynth = true;

            // make sure you have the event handlers wired up before this.
            _watcher.EnumerateInputPorts();
            _watcher.EnumerateOutputPorts();
        }