Skip to content

ArticPolarDEV/ArticPolar.Dev.TTS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ArticPolar.Dev.TTS

Text to Speech using C# (NET Framework 4.7.1)

Example

using ArticPolar.Dev.TTS;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace TTSConsole
{
    internal class Program
    {
        static void Main(string[] args)
        {
            using (var tts = new TTS())
            {
                tts.SetVoice("Microsoft Maria Desktop - Portuguese (Brazil)");
                tts.SetRate(0); // Normal rate
                tts.SetVolume(100); // Max volume

                tts.Speak("Olá, este é um exemplo de conversão de texto em fala.");
                tts.Speak("Você pode controlar vários aspectos da síntese de fala com esta classe.");

                Console.WriteLine("Press Enter to exit...");
                Console.ReadLine();
            }
        }
    }
}

About

Text to Speech using C# (NET Framework 4.7.1)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages