This page has been robot translated, sorry for typos if any. Original content here.

Talking with computer

Everyone probably watched that in the characters the characters are talking to the computer with might and main, moreover, he intelligently gives them an answer. Now, program progress has made all this available to every user. With a processor from 1 GHz, the microphone is also allowed to teach Windows to execute various voice commands, and in any applications. Suppose that you can make commands that simulate keystrokes, but then use this "feature" in the toys: for example, on the phrase "Select a knife", press "1", the phrase "Choose a gun" - "2".

So, let's begin. First, we'll deal with the microphone. I note that for use in toys it is more convenient to use a microphone, which is attached to the head - this bundle works more clearly, and it does not interfere with various noises. And to control the computer, obviously, it's better to have a desktop microphone, so that it was allowed to give commands in no way coming to the computer.

For the owners of the popular Creative SBLive! 24bit note the fact that the mic input is more intelligent than on other sound cards. If you use a simple condenser microphone (which has just a pair of wires), it does not work for you either, then connect L to its terminal R (if it has a "mono" connector, it must be re-soldered to "stereo") . Otherwise, the microphone input is working in low sensitivity mode. The microphone thus modified can not be used with some other cards - other cards on the R-contact have feeding for electret microphones.

If you have two sound cards, for example, the usual PCI is also integrated into the motherboard, then it becomes more rational to use an integrated sound card for the microphone. Since on the main card the mixer can be periodically reconfigured for other purposes (to the sample, for recording for the transmissions from the tuner). And an additional card is allowed to allocate to the exclusive possession of the voice control program.

The microphone must be configured first in Windows. Double click on the icon of the mixer in the tray, a mixer appears. Mixers for each sound card in Windows are a pair - one for playback, another for recording. We need to configure the one for recording. To do this, go to "Options -> Properties" and also select the "Record settings" menu.

We allow the display of the "Microphone" control. Then in the parameters of the first window of the mixer we put a check on "Additional parameters".

Under the microphone control there will be an additional "Setup" button, go there.

Usually, there is an option for additional amplification of the microphone signal, for example, "+ 20dB Boost" or "Booster" 1. It should be activated if you use a desktop microphone, but it's not attached to the headphones at all.

Now let's take the main program. So, we will use Game Commander 2. Despite the game name, this is a very developed program also with toys not connected. Download, install2.

Go to the settings (for this we press the button with the "Edit" prompt).

In the settings already eat a lot of presets for different toys, but we do not need them, because they use the voice recognition of the English voice. All of them are allowed to poudalat. Then we make our way to the microphone settings "Tools -> Microphone level".

Here it is necessary to choose the location of the Volume controller so that all the spoken phrases at the top are written "Speech detected". If the microphone is desktop, then, most likely, you need to install the controller in the location of "High". However, then with real use also an extremely high level of sensitivity, Game Commander can start confusing commands, making false positives. In this case, you should reduce the Volume level for the microphone. Close the microphone settings.

Now we will create phrases processed by the program.

The program owns a pair of action types - Global Commands also for specific programs. Actions (more precisely, an imitation of keystrokes) from the Global Commands list is done in any active window, as if you directly pressed the key at that moment. In most cases, this is inconvenient also does not need. And the actions for the given program are executed only if this program is launched also its window is active.

For the source, practice on Notepad. First, start Notepad, then in the Game Commander settings go to "Add -> Command File ..." and select notepad.exe from the list of processes.

Then, in the settings log, open a new branch of Notepad, expand it and add Command to the Command Set.

On the General tab that appears on the right, select Voice Mode in Voice input.

You will be prompted to dictate the key expression of the command.

You must press Start, following the countdown, dictate the command three times.

Then again, on the General tab, in the Insert keystroke into action list field, enter one or more keys that you want to simulate pressing.

Done. Now it is allowed to add a few more commands to the Command Set to react to other words spoken. On the Feedback tab, the separately selected command is allowed to enter sound files that will be played until after also the command execution. You can, for example, write down in them the phrase "command accepted" also "command fulfilled".

And on the Feedback tab, the entire profile profile is allowed to specify sound files that will be played when recognizing or not recognizing the command.

The Audio Devices tab allows you to choose which sound card to use the microphone - it allows you to use it not on the main card, but, for example, on an additional card. The option Check audio setup allows you to restore the settings of the mixer, if they are changed by some other program or fun.

All settings, save changes, and close the settings window. Now let's start studying the first window of Game Commander.

The first button is Listen - globally allows the program to listen and execute commands. Another button - Audible Feedback - allows the application to respond (pre-defined sound files) to your commands. The third button - Global Commands - allows execution of commands from the global list.

Enable Listen, run Notepad. We pronounce the previously assigned command. Pay attention that Game Commander will accept (and execute) the command only if the Notepad window was active. If blah blah he scribbles Not recognized - it does not mean that he does not recognize the team in any way. This expresses that he did not do anything, for example, because there was no active window for which the command was spoken. But the commands from the list of Global Commands will be executed in any active window, if, undoubtedly, the button of execution of Global Commands is pressed.

Global commands are allowed to be used for general computer management, for example: switch tasks, shut down the computer, start a web browser. Game Commander does not know how to launch programs personally, it can only simulate keystrokes. But this problem can be solved with the help of MediaKey. First, in the Game Commander, we set up an imitation of the press, for example, LShift + LCtrl + A, but then we prescribe this blah blah combination in MediaKey and there we assign the file to it.

Teams associated with programs, as also conceived by creators, can be most used in games3. A lot of different actions are allowed to be assigned to voice commands: the election of a weapon, the display of a card, recharging, repair, and much more (in modern toys, as a position, each key on the keyboard performs something).

Now that you understand the principles of using Game Commander, you can find its use.

________________________________________

1. For Creative SBLive! 24bit (and, obviously, some other sound cards) because of the error in the driver, the amplifier is allowed to be included only in the microphone settings in the playback mixer, but it also acts on the operation of the mixer.

2. Recall that in gratuitous mode, he has significant limitations: it is impossible to simulate pressing several keys in succession. It is also impossible to "press" the keys globally (it is possible only in previously specified programs).

3. We emphasize the fact that software also technical progress has long ago allowed us to make voice interactive control of the computer everywhere, but targeted support from application programs is required. For example, imagine such a dialogue:
- Computer: a new mail has been received.
- Man: read it.
- Computer: (reading).

Already a long time ago, such popular programs as TheBat !, ICQ, Miranda can in some way or another voice announce the receipt of mail, and if they want to say it (with the help of third-party plug-ins). But in any way this can not work for some additional event (as, for example, the team of the person in the presented dialogue) also if they read, then they read immediately when they receive it.