Document Reader : Visual C#

  Document Reader is a text-editor cum text-to-speech converter. It means that this Visual C# program lets you read your text documents as well as listen to them. Isn’t that cool? I’m sure you’d love it.

Document Reader

If you’re not a programmer and just want to download and use this program, you can download it here. To listen to the document, click on the “Read Aloud” option in the Document Menu. If you are a programmer, you might want to read the details of the program in the sections that follow. This program requires .NET Framework 4.5



Document Reader – Concept

  This program is based on a previously published Visual C# project – the SharpPad, which was a text-editor. The new and interesting part of the Document Reader is the ability to read text aloud.

  This program utilizes the System.Speech.Synthesis namespace for converting text to speech. An instance of the SpeechSynthesizer class is created and used to read the text. There are several methods to set the type, volume and rate of the sound produced (However, these functions had no effect on the properties of the sound produced when this program was being developed and tested). The SpeakAsync() method finally produces the sound (You can also use the Speak() method instead).

  Apart from that, everything is easy to guess. The SpeakAsync() method reads the contents of the RichTextBox and converts the text to speech. However, if there is no text in the RichTextBox, the program says, “The current document is blank. Please open a document with some text”.



Document Reader – Screenshots

  The following images describe the functionality of the Document Reader:

Document Reader - Blank

Document Reader – Blank

Document Reader - Opening a File

Document Reader – Opening a File

Document Reader - Document Opened

Document Reader – Document Opened

Document Reader - Reading Aloud

Document Reader – Reading Aloud

  As you can see in the above images, you just need to open a text document and then click on the “Read Aloud” option in the Document Menu. The program starts converting the document’s text to speech. The volume of the speech output depends upon your computer’s Speaker Volume. You can also modify the code to make the speech output work as per your requirements.



Downloads

Click here to download the source code of Document Reader (71 KB)

Click here to download only the executable of this program (22 KB). This program requires .NET Framework 4.5

Click here to download the installer of this program (159 KB). This program requires .NET Framework 4.5

Share this COOL project

  This is one of the best projects by Windows Code Bits yet. If you liked this project, don’t forget to share it and help others. Also, let us know your opinion about this program. Your feedback helps us create better projects.

(Visited 262 times, 1 visits today)

Leave a Reply

Your email address will not be published. Required fields are marked *