public VoiceControlEngine(KinectSensor sensor)
 {
     this.sensor = sensor;
     this.ri = GetKinectRecognizer();
     this.spotifyController = new SpotifyController();
 }
 /// <summary>
 /// Initializes a new instance of the MainWindow class.
 /// </summary>
 public MainWindow()
 {
     InitializeComponent();
     this.spotifyController = new SpotifyController();
 }