---
title: Voice Recognition
tags: software
---
# Voice Recognition
### integration
- Use chess library to get FEN notation of board
- test edge cases
### speech to text
- looking at nlp languages for python to identify voice commans
- format for commands: starting space + "to" + target space
- starting space for duplicate pieces, target space would check with algorithm before moving
## initial research/links
##### Voice Recognition Libraries
-these two go hand in hand, Pyaudio gives access to microphone while SpeechRecognition translates audio to text
- https://pypi.org/project/SpeechRecognition/
- https://pypi.org/project/PyAudio/
-currently using google_cloud API, may look at free options if pricing creates problems
#### Chess Simulation
-Using Wit.ai to fix incorrect translations from google_cloud before sending them to simulation
-Uses chess algorithm library and jupyter notebook to simulate the speech recognition commands