Skip to content

WilliamLQin/talk2control

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Talk2Control.tech

alt icon

Talk to control tech!

Talk2Control.tech is a voice activated keyboard input web application.
It aims to allow you to navigate a slideshow or animation with just your voice, allowing for slides to sync perfectly with you as you speak.

Current State of Project

Talk2Control.tech is currently requires specific conditions to function properly.
You can see the working project at here, but the way the code works causes you to cause key presses on the server rather than your computer.
As such, it is recommended to create clone of this project and run it on localhost to get it to work.

If you inspect element at the live website, you can still see the output on the console of what the voice recognition library is outputting. When it matches up with your keyword, it will cause a key press on the server.
Currently, the key press is set to the space bar and only works with one key word.

Please note, Talk2Control.tech currently only works on Mac OS X.

Getting Started

This project uses Flask to run the Python backend code.
You'll need Python installed on your computer. Head to Python to download it if you don't have it.

Clone the project and navigate to the directory in terminal.

Install Flask:

pip install Flask

Set the PATH to the app.py:
export FLASK_APP=app.py

Now, whenever you want to run the server on localhost, simply enter:
flask run

If you encounter any issues, please consult the Flask documentation to get it set up.

Customization

Changing the key that is pressed when the keyword is identified is easy.
Open the app.py file in the root directory of the project.
Modify line 6 of the file:

  (key code 49)

Switch to a different keycode to press a different button. Go to this complete list of keycodes to find out which keycodes refer to which keys.

For example...

  (key code 124)

will press the right key whenever the keyword is heard.

Currently, you can only map one word to one key.

About

Voice activated keyboard input web application!

Resources

Stars

3 stars

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors