private void musicButton_Click(object sender, EventArgs e)
        {
            int songID = 0;
            try
            {
                songID = this.musicPlayer.PlaySong();
            }
            catch
            {
                this.musicPlayer = new MusicPlayer(db.CreatePlaylist(currentVector, settings.GoalEmotion, settings.GenrePreferences));
                songID = this.musicPlayer.PlaySong();
            }

            // Output current emotion and song played
            om.OutputIteration(songID, currentAnalysis, currentVector);
        }
        private void stopRecordingButton_Click(object sender, EventArgs e)
        {
            currentAnalysis = dbm.SearchDatabaseForEmotion(windows);
            currentVector = ec.CalculateVector(currentAnalysis);

            try
            {
                waveIn.StopRecording();
                waveIn.Dispose();
                waveIn = null;
                waveChart.Series[0].Points.Clear();
            }
            catch { }

            stopRecordingButton.Enabled = false;
            startRecordingButton.Enabled = true;

            this.musicPlayer = new MusicPlayer(db.CreatePlaylist(currentVector, settings.GoalEmotion, settings.GenrePreferences));
        }