Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Speech assistant

In this repository all of the code files for the assistant are stored.

The text can be found at Overleaf

This repository has 3 branches. The master branch with snowboy binaries compiled for x64 UNIX systems, the RPI branch which is for the Raspberry Pi, with snowboy binaries compiled for ARMv6 UNIX systems and slightly modified Python files to make them work on the Pi. The dev branch is for working on code that applies to both branches.

Files

Test****.wav

These files are the audio files used to feed into fromfile.py to test the speech to text engines.

*.svg

Logo's

assistant.py

This file connects all the other files together to turn them into one cohesive program.

_snowboydetect.so

Binary file that uses neural networks to detect keywords on UNIX machines.

commands.py

Python file with different commands the assistant responds to.

*.pmdl

Voice model files for Snowboy.

snowboydetect.py

Low-level python file generated by snowboy. Contains Python3 bindings for _snowboydetect.so.

snowboydecoder.py

Higher level python file which can be used to communicate with snowboydetect.

audio_devices.py

Small Python script to get all of the connected audio devices.
Used to find out what device index to use for recording and playback on the Raspberry Pi, as this changes depending on which port the microphone is plugged in to.

fromfile.py

Python script used for testing of the speech to text engines.
Uses a .wav file and returns the text as recognised by a lot of different engines.

Based on a file from the speech_recognition library.

query_parser.py

Python script that takes text and returns the intent that it thinks you had.
Basically a bunch of if statements but simplified and not hard coded.

speech_to_text.py

Python script that uses google and wit.ai to turn speech into text.

text_to_speech.py

Turns text into speech using IBM Watson.

tts_test.py

Python script for testing different text to speech engines and api's to turn text into speech and play it.

TODO

Make SNOWBOY command work better

automatic switching to the new hotword/being able to switch to another hotword using the voice commands

Add functions.

Do things

Releases

No releases published

Packages

No packages published

Languages

You can’t perform that action at this time.