A Speaking APP in C# with .NET 3.0

Mahen 0 Tallied Votes 143 Views Share

Note This app will tell the current Time, requires .net 3.0

/*
 * Created by SharpDevelop.
 * User: Development
 * Date: 06-Jun-07
 * Time: 4:40 PM
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;
using System.Speech.Synthesis;
using System.Collections.Generic;

namespace SpeakingClock
{
	class MainClass
	{
		public static void Main(string[] args)
		{
			System.Speech.Synthesis.SpeechSynthesizer Speak = new SpeechSynthesizer();			
			Speak.Rate = 3;  /The Voice Speed
                        System.Console.WriteLine(DateTime.Now.ToString());
			Speak.Speak(DateTime.Now.ToString());
		
			
		}
	}
}
vegaseat 1,735 DaniWeb's Hypocrite Team Colleague

Needs to be moved to csharp snippets.

panthamkarthik 0 Newbie Poster

thnQ very much..

Member Avatar for Supervolk
Supervolk

And how to save it all to .wav, .mp3 format

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.