Hi, This is my progress report of week 1.
- Worked on a script to keep a check on the accuracy statistics of pocketsphinx…based on the characteristics of the audio input - it’s sampling rate…chunk-size…etc. This can in turn help in accurately decoding the speech to text later on.
Made a script to record the audio from the microphone…and based on the intervals of silence…it splits the audio. As soon as the audio file is created…it pauses the recording process…and then performs the tasks to be done with the audio input…only to resume the process later. This code has been used in many different forms in many parts of the project…as and when required.
Worked on using the script mentioned in 2 in order to launch other processes… especially the games. It is successfully able to launch the games…if the keywords are recognized well.
- Had to revamp the previously created Spell It! game. The newly made game takes inputs smoothly and operates on them.
- Did the same for the Hangman game too.
- Working on scraping more words to enhance the wordlist.
Had problems with running the recording script parallel to the games…as tried by me previously. Solved the issue by pausing the games in between to run the recording script as an when required.
Set up most of the hardware as required to deploy the project…but am having some problems setting the headset…the pocketbeagle won’t recognize it.
Works to be done next week:
Solving the hardware problems…and checking the progress on the board.
Working on the third game…will be done soon.
Have to start the 4th game(crossword) from scratch.
Some recording scripts have been copied and used in different forms in different directories…want to reduce project space by reusing the same code in other places.