Windows Speech Recognition - Classic Install
Caster currently supports Windows Speech Recognition (WSR) on Microsoft Windows 7 through Windows 10.
1. Python
-
First Download and install Python 3 listed as
Windows x86-64 MSI installer
.`- Make sure to select
Add python to path
. This can be done manually by searching for "edit environment variables for your account" and adding your Python folder to the list of Path values.
- Make sure to select
2. Caster
- Download Caster from the master branch.
- Open up the zip file downloaded
- Copy the contents of
Caster-master
folder, you can put it anywhere but it is common to use%USERPROFILE%\Documents\Caster
. - Optional Step for Caster's
Legion
MouseGrid - Legion Feature available on Windows 8 and above - The Legion MouseGrid requires Microsoft Visual C++ Redistributable Packages for Visual Studio 2015, 2017 and 2019 (x86). Note: Should not be needed if Windows 10 is up-to-date. - Click
Install_Caster_DNS-WSR.bat
to install prerequisite Caster dependencies.
4. Launch Caster for Classic Install
-
Go to
%USERPROFILE%\Documents\Caster
-
Start Caster by double clicking on
Start_Caster_WSR.py
. -
To test open Window's Notepad, try saying
arch brov char delta
producingabcd
text. Set up complete!
Update Caster
- Backup
%USERPROFILE%\Documents\Caster
- Delete
%USERPROFILE%\Documents\Caster
- Repeat Steps
1. - 4.
within the Caster install section
Troubleshooting Windows Speech Recognition
- Receive the
-2147352567
COM error when Caster starts. This is most likely related to the microphone being utilized by another program. See issue #821 and #68. This can be mitigated by closing the program that's utilizing the microphone.
com_error: (-2147352567, 'Exception occurred.', (0, None, None, None, 0, -2004287480), None)`
-
Receive the
-win32com.gen_py' has no attribute 'CLSIDToClassMap
COM error when Caster starts.WARNING:engine:Exception while initializing sapi5 engine: module 'win32com.gen_py.C866CA3A-32F7-11D2-9602-00C04F8EE628x0x5x4' has no attribute 'CLSIDToClassMap' ERROR:command:Exception while initializing sapi5 engine: module 'win32com.gen_py.C866CA3A-32F7-11D2-9602-00C04F8EE628x0x5x4' has no attribute 'CLSIDToClassMap
fix: run
Remove-Item -path $env:LOCALAPPDATA\Temp\gen_py -recurse
in powershell