A Windows application that allows you to control your media software using your voice.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ShoeVox
.gitignore
CHANGELOG.markdown
LICENSE
README.markdown
ShoeVox.sln

README.markdown

ShoeVox

By Robert Baskin and Max Cutler

Announcement: http://blog.rsbaskin.com/post/3717628154/shoevox-voice-control-for-your-pc


Do you ever lie on your bed watching a movie and wish you could pause it without moving? Do you ever listen to music as you're doing things around your room and wish you could go to the next song? Do you ever recline in your desk chair to watch a TV show and wish you could mute it without reaching for the mouse?

ShoeVox is a Windows application that allows you to control your media software using your voice when you're watching movies and TV shows or listening to music.

Usage

When ShoeVox starts, it detects what media programs you have running and starts listening for user commands.

To say a command, you first have to say a prefix. By default, this is "PC". If you'd like to change the prefix, right-click on the ShoeVox icon in your system tray and click "Set Prefix".

After saying your prefix, you can then say a command. Out of the box, the following commands are available:

  • Play
  • Pause
  • Stop
  • Mute
  • Volume Up
  • Volume Down
  • Next
  • Previous

So, to pause your music or video, you would say "PC Pause". If you'd like to add more commands or programs, you can edit the media.xml file in the ShoeVox directory.

By default, ShoeVox doesn't run automatically when Windows starts. If you'd like it to, right-click on the System Tray icon and check "Run on Startup".

Program Support

Out of the box, ShoeVox supports the following media programs:

  • Windows Media Player
  • Windows Media Center
  • iTunes
  • Zune
  • VLC
  • Media Player Classic

Users can add support for additional programs and commands by modifying the included media.xml file.

Requirements

  • Windows Vista (or greater)
  • .NET Framework 3.5 (or greater)

Installation

  1. Download zip file from GitHub project page.
  2. Extract zip file to location of your choice.
  3. Run "ShoeVox.exe".

How it works

ShoeVox leverages WMI to monitor running processes, and matches them against its list of known media programs.

If (and only if) ShoeVox detects that one of the known media programs is running, it will start listening for commands via the computer's default audio input device (i.e., microphone). Because the speech recognition engine is active only when media programs are running, ShoeVox should use minimal system resources if the user is not consuming media; users can also explicitly turn off listening using the system tray menu.

In this version, the .NET SpeechRecognitionEngine is used to perform the actual speech recognition, but in the future we hope to use the Kinect sensor or other advanced audio input devices.

A command prefix, "PC" by default, is used to avoid confusing background noise with intentional user commands.

When a command is recognized, the media program is briefly brought to the foreground (if it isn't already) and sent simulated keystrokes corresponding to the desired action. After the keys have been sent, the previously active window (e.g., a web browser) is restored to the foreground.

For example, in Windows Media Player, Control+P is the keyboard shortcut for Play/Pause; when a user speaks "PC play", WMP would be brought to the foreground, and we would send fake Control+P keystrokes to the program (using either SendKeys or Windows Input Simulator).

What's with the name - ShoeVox?

ShoeVox is named after the IBM Shoebox, a device demonstrated by IBM in the early 1960s that was one of the first to do speech recognition.