Skip to content

Commit

Permalink
Revert "Text to Speech code added"
Browse files Browse the repository at this point in the history
This reverts commit 8ea6f6b.
  • Loading branch information
Gr8z committed May 20, 2017
1 parent 8ea6f6b commit b1d0d48
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 16 deletions.
Binary file removed ChatBotProject/ChatBotProject.v11.suo
Binary file not shown.
12 changes: 0 additions & 12 deletions ChatBotProject/ChatBotProject/ChatBot.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
using System.Windows.Forms;
using System.Media;
using System.IO; // needed for filing
using System.Speech.Synthesis;
using System.Speech.Recognition;
using System.Threading;

namespace ChatBotProject
{
Expand Down Expand Up @@ -112,19 +109,10 @@ private void showOutput()
}
}

SpeechSynthesizer sSynth = new SpeechSynthesizer();
PromptBuilder pbuilder = new PromptBuilder();
SpeechRecognitionEngine sRecognize = new SpeechRecognitionEngine();

// Call the Output method when the send button is clicked.
private void button1_Click(object sender, EventArgs e)
{
showOutput();


pbuilder.ClearContent();
pbuilder.AppendText(InputTxt.Text);
sSynth.Speak(pbuilder);
}

// Call the Output method when the enter key is pressed.
Expand Down
Binary file modified ChatBotProject/ChatBotProject/bin/Debug/ChatBotProject.vshost.exe
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit b1d0d48

Please sign in to comment.