How to make J.A.R.V.I.S AI ASSISTANT in real time
(Just.An.Remote.Virtual.Intelligent.System)
Hello everyone , here is a tutorial for how to make your PC speak like Jarvis as in Iron Man movies . The Post is quite long , so have patience. You just need is a basic of scripting with XML , and that's easy too , what you need to do is just make enter some commands to some of the windows files , its as simple as burning a candle ;
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 :
Requirements :
- Firstly , you need an operating system , Windows 7 and Windows 8 , both works fine on 32-bit as well as 64-bit versions. you should have a lots of memory , at least 1 GB memory is required , but i will suggest for a 2 GB ,processor (at least a dual core .)
- Secondly , you would need Windows Speech Recognition Software , that's inbuilt in windows 7 and windows 8 PC. You just need to enable it.
- Now you need is an important software , which windows is providing on their website too ; Windows Speech Recognition Macros , which you can download by clicking HERE .
- A microphone , that's inbuilt in laptops , but i will suggest using a separate and dedicated microphone as it will be whole lot more easier.
- Lastly we need is Speakers , as we all know .
Procedure :
- Download Windows Speech Recognition Macros Software (WSRM) first . You can download it at windows website , or otherwise you may Google it to get more download links.
- 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, it's a good idea to take the speech tutorial to familiarize yourself with some common voice commands. You should also go ahead and visit the section that says "Train your computer to better understand you." Neither is required, but going through the steps provided by these tutorials will help make the process of bossing your computer around a lot more efficient. An additional bonus you'll get after training your computer to better recognize your voice... less problems with it responding to ambient noises and other voices in the room. So go ahead and take the extra 10 minutes to learn these processes.
- Go to advanced and do the programming as given below:
Before doing that , you must know about the used strings , ie. XML strings
<speechMacros> - This is the starting Tag, it just tells the computer that this XML file uses the Speech Macros to execute.
<command> - This is the command to be executed. Each command is basically one action... in most cases you will only need one, but for some automations 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 in order 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 tag 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> - By now I think you can 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 it's 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're going to add the <speak></speak> tags which allow for the computer to speak whatever text we insert between the tags back to us.
Now , what you write in advanced 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 you back .
For signing a SPEECH MACROS FILE we first first look at the tray in the taskbar, right click on speech macros' logo (like blue balloon with two gears) then you will bbe able to see a setting namely SECURITY, click on it and select 'create a signing certificate' option, then a task will open, click next and go forward then you will see a task saying that the signing certificate has been created.
You must do this each time you make a Speech Macros.
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>
WANT moRe
If you need ANY HELP on anything just don't hesitate, just click on the comments tag and ask in the comments box below.
(Lot more coming, so stay tuned)
CURRENTLY DEVELOPING A SOFTWARE WHICH IS NEARLY COMPLETE.
Basil Azeez(TONY STARK)
Real life J.A.R.V.I.S by BASIL AZEEZ is licensed under a Creative Commons Attribution 4.0 International License.
Based on a work at www.hacker4jarvis.blogspot.com.
Permissions beyond the scope of this license may be available at permissionstopost
Any doubts?
ReplyDeleteDon' worry I am Happy To Help You.
can you say how to download the J.A.R.V.I.S
ReplyDeleteSorry Naji, for not answering your question at the right time,
DeleteAnd you cannot DOWNLOAD J.A.R.V.I.S you will have to make it with above told instructions,
Thank you
Sorry Naji, for not answering your question at the right time,
ReplyDeleteAnd you cannot DOWNLOAD J.A.R.V.I.S you will have to make it with above told instructions,
Thank you
And if you think you want to share this blog among your friends don't be shy just share it with those social networking icons
ReplyDelete