In the next window, select Speech on the left panel. Press the Windows logo key + I on your keyboard to open the Settings app.
Now, we will show you how to configure text-to-speech options in Windows 10.
Here is a list of all the voices for all the versions of Windows 10 operating system: LANGUAGE, COUNTRY, OR REGION Unfortunately, Eva’s voice is not available for use, but we will show you how to unlock it. Other languages and regions have their voices. Windows 10 users have found out new voices in the US English version of the operating system: Microsoft Eva Mobile, Microsoft Mark, and Cortana’s voice. It can also help you learn the pronunciations of words you are not familiar with.Your computer can read texts to you while you are doing other things. This option is also useful for multitasking.The text-to-speech option is very useful for users who find it difficult to read from the computer screen.There are many advantages and uses of the text-to-speech option: Other voices were also added in Windows 10, which you will see later in this article. David, Zira, and Hazel were introduced in Windows 8 and 8.1. In Windows Vista and 7, Anna was introduced. With that, you can now take this knowledge and write your own scripts that utilize the built-in voices on your computer to talk to you or provide spoken alerts.Text-to-speech voices have been added to the Windows operating system starting from Windows Vista. WAV to save the voice to a file that you can use. Lastly, you can save your voice work to a file by using SetOutputToWaveFile() and providing a path and file name that ends in. Now you can provide some text to Speak() and listen to Zira tell you the date and time!
Ĭhanging to a different voice is as simple as calling SelectVoice and providing the full name that you wish to use. There is also a female voice that you can select named Microsoft Zira Desktop, which you can find when you view all of the currently installed voices using the GetInstalledVoices method. If you look at the Voice property, you can figure out that this particular one is a male voice named Microsoft David. $speak.Speak("The current date and time is $(Get-Date)") By the way, these are also the limits for what you can set the rate to. Or you can slow it down by making it -10. If you want a faster response, increase the rate to something like 10. You can even control the rate at which the words are spoken to you. If you wanted to increase the volume of the voice, you can adjust the Volume property from 0-100 on your object.
You can even have the current date and time spoken to you, as well. $speak.Speak("This is a test of some PowerShell code")Īssuming you have headphones in or the volume is turned up enough, you will get to hear the text that you wrote spoken back to you. I'll start out by looking at the Speak method, which allows your computer to speak by simply providing some text with the method. Some methods that are interesting to me are Speak() and SetOutputToWaveFile(), and properties to review are Rate, Volume and Voice. There are a lot of cool things here to look at! We can ignore the events as they won't be needed. With this object created, we can take a look at the members of this object to see what we can do with it.