View Single Post
05 Oct 2010   #
Abhishek Ghosh

Windows 7 Ultimate 64 bit, Mac OS X 10.6
 
 
Sounds - Custom "Windows Logon" that Speaks What You Like

How to Create a Custom Logon Sound that Speaks What You Like

Disclaimer: First of all, thanks to Vipul Taneja of Microsoft India for letting me know about this trick written by Microsoft Most Valuable Professional Thomas.
He described it first and I am writing this tutorial based on it after testing on my PC with some modifications and screenshots.

As of most tutorial written by me, this tutorial also will not need any "extra" software.

What we are going to do?

We will make a VB script and place it in Windows 7 Startup folder. There after, every-time you log in, a voice will greet you after the startup sound (if enabled).



Step 1

Open Notepad. Copy paste the code written below:

Code:
Dim speaks, speech
speaks="Welcome, Abhishek"
Set speech=CreateObject("sapi.spvoice")
speech.Speak speaks
Now, change my name to yours inside the code. Infact, you can change and place any sentence within the quotation mark in the code. I have tested, it works fine upto 5 words. You can change the spelling, add space, punctuation etc to make it more realistic.

For example, I want to hear my name as "Oh-bhi-shake" ; so I will write there "Oh bhi shake".




Now, Save it as "Greetings.vbs" (without quotes) and as I always say, change the file from text to "all files". Save it to some location, you can remember; say Desktop.



Step 2

Now, we have to place it inside the Windows Startup folder. Click the Start-Button, choose "All Programs" and you will find it as a folder named Startup. Right Click it and choose Open or Explore.



Copy the VBS file you have created and paste there. You must be logged on as Admin. A security prompt will come, just accept it.



Step 3

Just restart the computer and you will hear the voice!

To disable it, just delete the file.

Now, we will go to further details.

Type of voices: In Windows 7 and Windows Vista, the default female voice is Anna. In Windows XP and 2000 its Sam.

There is way to change the settings of this default voice in Windows 7 and Vista too.

Click the Start Button, type "narrator" without quotes:



Narrator will open and begin to speak:



Just click the "Voice settings" and you will get this window:



There are third party voices available for installation, I have still not found any way to install other Microsoft voices by any trick.

Additional settings:

You can add some parameters too! For example:

Code:
with speech
Set .voice = .getvoices.item(0)
.Volume = 100
.Rate = 0
end with
Here, volume is defined in percentage. Other commands are:

.Pause = pause speaking

.resume = resume after pause

.Rate = speed of spoken words. The larger number, the faster pitch.

.Voice = If multiple exist on machine, say Sam and Anna are available, you can set any one.

.Volume = Already explained.

.WaitUntilDone = wait until done Voice will wait still all the services loads, i.e. the system is completely ready.

Note   Note
Companies, Schools, Universities can use their custom texts to greet users. For example, A Library PC can be set to say " Welcome to the central library of abc Institute"








My System SpecsSystem Spec