JARVIS (Artificial Intelligence based Operating System)










Turn your laptop to Iron mans Jarvis:


Hello every one, here is a tutorial on making your PC speak like Jarvis, as in Iron Man movies. The Post is quite long, so have patience. You just need a basic of scripting with XML, and that's easy too; what you need to do is just enter some commands to some of the Windows files; it's as simple as burning a candle ;

That is really telling. When I tried it for my laptop, I thought it would be hard enough for me to make my PC speak like that, and believe me, even when I looked up on the internet, I found the way too hard, but when I got what to do, it becomes a whole more lot of easy to scrap the things out of it. So now, what you have called is that your computer can respond to you for whatever you say. Now let's get to what we should have to do all that I have told you :

Requirements:

  1. First, you need an operating system, Windows 7 and Windows 8, which works fine on 32-bit and first 64-bit versions. You should have a lot of memory; at least 1 GB is required, but I suggest a 2 GB processor, at least a dual-core.
  2. You would need Windows Speech Recognition Software built into Windows 7 and 8 PCs. You just need to enable it.
  3. Now you need an essential software, which Windows provides on their website too: Windows Speech Recognition Macros, which you can download by clicking HERE.
  4. A microphone is built into laptops, but I suggest using a separate and dedicated microphone as it will be much easier.
  5. Lastly, we need Speakers, as we all know.

Procedure:

1. Download Windows Speech Recognition Macros Software (WSRM) first. You can download it on the Windows website; otherwise, you may Google it to get more download links.

2. Enable Windows Speech Recognition, which is inbuilt. Enable Windows Speech Recognition in your Control Panel (Start Menu/Control Panel/Ease Of Access/Speech Recognition/Start Speech Recognition). While you're at it, taking the speech tutorial to familiarize yourself with some common voice commands is a good idea. You should also visit the section "Train your computer to better understand you." Neither is required, but going through the steps provided by these tutorials will help make bossing your computer around much more efficient. An additional bonus you'll get after training your computer to better recognize your voice is fewer problems with responding to ambient noises and other agents in the room. So go ahead and take the extra 10 minutes to learn these processes.

3. Now that you have trained your PC, it's time to do some programming. Open the WSRM by double-clicking it; it always gets minimized to the taskbar. To know how to use it, visit HERE. At starting it might look like this. You can directly add programs by clicking on the Run a Program option.


4. Go to advanced and do the programming as given below:

Before doing that, you must know about the used strings, i.e., XML strings
<speechMacros> - This is the starting Tag; it tells the computer that this XML file uses the Speech Macros to execute.
<command> - This is the command to be completed. Each order is basically one action... in most cases you will only need one, but for some automation, you'll want to include more than one. You'll see an example of this later.

<listenFor></listenFor> - This tells the computer what word or phrase to listen for to do an action. Notice that there is a closing tag (</listenFor>); this tells the XML that this spot in the code is where to stop doing whatever function... in this case, stop listening for a word or phrase once the computer hears it.

</command> - The closing tag for the "Command" tag... again, in XML, every title will have an opening/closing tag, and what happens between the two is how it knows what to execute. In this case, it knows that the command is finished once the word/phrase has been detected.
</speechMacros> - You can now figure out why this is here.
Since I'm going to name my computer Jarvis, I'm going to tell my computer to listen for its name by changing the <listenFor> tags to say the following:
<listenFor>Jarvis</listenFor>
The entire macro looks like this now:
<speechMacros>
<command>
<listenFor>Jarvis</listenFor>
</command>
</speechMacros>

So we will add the <speak></speak> tags, which allow the computer to speak whatever text we insert between the titles back to us.

Now, what you write in advance is :
<speechMacros>
<command>
<listenFor>Wake up</listenFor>
<speak>Database Check, System Online, Hello</speak>
</command>
</speechMacros>

Go forward and save it; sign the macros as well. That's it. Now, when you say hello to it, it replies to you.

Some examples are :
Restart Computer: (You say "Nuke It," and the computer acknowledges and restarts your system.)
<speechMacros>
<command>
<listenFor>Nuke it</listenFor>
<speak>Restarting Windows</speak>
<run command="C:\Windows\System32\shutdown.exe" params="-r -t 00"/>
</command>
</speechMacros>
Shutdown Computer: (You say, "Shut It Down," and the computer acknowledges and turns the system off.)
<speechMacros>
<command>
<listenFor>Shut it down</listenFor>
<speak>End Of Line</speak>
<run command="C:\Windows\System32\shutdown.exe" params="-s -t 00"/>
</command>
</speechMacros>
Similarly, you can add many commands and control your system with voice.

Comments

  1. So now , what you have got is that , your computer can respond back to yo for whatever you say , now lets get to , what we should have to do all that I have told you : best virtual assistant

    ReplyDelete
  2. very nice post and right to the point. I don’t know if this is actually the best place to ask but do you guys have any thoughts on where to employ some professional writers? Thank you .

    ReplyDelete
  3. very nice post and right to the point. I don’t know if this is actually the best place to ask but do you guys have any thoughts on where to employ some professional writers? Thank you .

    ReplyDelete
  4. Muy buenas! me ha gustado esta nota, creo haber tomadobuena anotacion, amo los
    masajes y espero complacerter cuanto antes me quedo chequeando algunas mas,
    me apunto a esperar las actualizaciones, muchas gracias

    ReplyDelete
  5. It's awesome in favor of me to have a web site, which is helpful in support of my
    experience. thanks admin

    ReplyDelete
  6. Have computer scientists be able to create computer and software can understand human thoughts and actions. If so, congratulation!!

    ReplyDelete

Post a Comment

Popular Posts