Skip to content

Uisng the open-source tools provided by the MycroftAI team, I am making a Voice Assistant for the Wartburg College Computer Science department.

License

Notifications You must be signed in to change notification settings

shahzeb-jadoon/Voice-Assistant-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Voice Assistant - Tux

Getting Started with Tux

Step 1: Retrieving Mycroft Tools (only runs on Linux)

cd ~/
git clone https://github.com/MycroftAI/mycroft-core.git/tree/master
cd mycroft-core
bash dev_setup.sh
  • Y (run on stable ‘master’ branch)
  • Y (automatically update)
  • N (not needed if you have an internet connection at all times)
  • Y (make Mycroft’s job easier)
  • Y (automatically check code when submitting)

Step 2: Implementing Tux:

The first thing that needs to be done is to place Hey-Tux.tgz file (found in the Mycroft-Precise directory of this GitHub repository) in the .mycroft/precise/ folder on your machine. Before moving on to the next step, unzip the Hey-Tux.tgz in the same folder (.mycroft/precise/) using the following command:

tar -xvzf Hey-Tux.tgz

Next, follow the following steps to implement Tux:

cd ~/
cd mycroft-core
./bin/mycroft-config edit user

In the window that appears, copy the following code (you can choose to put Hey-Tux-Old.pb in place of Hey-Tux-New.pb if you want to try the older Precise wake-word model for Tux). Within <user folder name> you should write down your user account's folder name (it shoud be obvious that the names shoud be written without the <>):

{
  "max_allowed_core_version": 20.2,
  "listener": {
    "wake_word": "hey tux"
  },
  "hotwords": {
    "hey tux": {
        "module": "precise",
        "local_model_file": "/home/<user folder name>/.mycroft/precise/Hey-Tux-New.pb"
    }
  }
}

Press Ctrl + S to save and Ctrl + X to exit the window. You can use this JSON Formatter & Validator tool to make sure that the code you typed in is correct. Next type the following command:

./bin/mycroft-config reload

Step 3: Starting Tux:

If you would like to see what Tux is hearing, and also see what Tux is saying, type the following command. This will bring an interface to interact with Tux.

./start-mycroft.sh debug

Press Ctrl + C to exit the interface (this will also close all Tux services). If you want Tux to work in the background without an interface, type the following command:

./start-mycroft.sh all

To end all background services of Tux, simply type:

./stop-mycroft.sh

Support or Contact

If you have any questions, comments, or concerns, you can email me at shahzeb.jadoon.sj@gmail.com

About

Uisng the open-source tools provided by the MycroftAI team, I am making a Voice Assistant for the Wartburg College Computer Science department.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published