
You will need
- A PC or Laptop (which you want to convert into JARVIS)
- An Operating System - Windows 7 or Windows 8
- Windows Speech Recognition Program (inbuilt in Windows)
- Windows Speech Recognition Macros (Download)
- A Microphone (To give Commands)
- Speakers (To hear the response of JARVIS)
Let's get started
- Make sure you have all the things required as mentioned above. Download Windows Speech Recognition Macros (if you have not downloaded it yet).
- Enable Windows Speech Recognition Program. (Go to Start > Control Panel > Ease of Access > Speech Recognition > Start Speech Recognition).
- Take the speech tutorial and train your computer to better understand you. (Optional)
- Now Open the Windows Speech Recognition Macros (WSRM). It will look like this :-
- Now click on Advanced to start programming your JARVIS system using XML.
- Now save it and Sign the Macros.
XML Strings used
<speechMacros> </speechMacros> - It is used to tell the computer that this XML file uses the Speech Macros to execute.
<command> </command> - Its is used to give a specific command to the JARVIS.
<listenFor> </listenFor> - It is used to define the word or phrase to be said to perform the specified command.
<speak> </speak> - It is used to define the word or phrase that JARVIS speaks when given a command.
Commands
Wake Up (It will activate JARVIS when you say 'Hello Jarvis')
<speechMacros>
<command>
<listenFor>Hello Jarvis</listenFor>
<speak>Database Check , System Online , Hello</speak>
</command>
</speechMacros>
Shutdown Computer (It will shutdown your computer when you say 'Goodbye Jarvis')
<speechMacros>
<command>
<listenFor>Goodbye Jarvis</listenFor>
<speak>Getting Offline, Good Bye</speak>
<run command="C:\Windows\System32\shutdown.exe" params="-s -t 00"/>
</command>
</speechMacros>
Restart Computer (It will restart your computer when you say 'Restart it')
<speechMacros>
<command>
<listenFor>Restart it</listenFor>
<speak>Restarting Windows</speak>
<run command="C:\Windows\System32\shutdown.exe" params="-r -t 00"/>
</command>
</speechMacros>
ReplyDeleteVery Nice and Informative Post. Thank admin for sharing such an amazing post.
--->>How to Make a JARVIS Computer! [IronMan PC]