Wednesday 23 December 2015

Happy new year c# code, Microsoft speech library Integration



using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SpeechLib;


namespace Happy_new_year_speech
{
    class Program
    {
        static void Main(string[] args)
        {
            string str = "Wish you a happy happy new year.";
            SpVoice obj = new SpVoice();
            obj.Speak(str, SpeechVoiceSpeakFlags.SVSFDefault);
        }
    }
}