An open API service indexing awesome lists of open source software.

https://github.com/arsho/pyvis

Voice activated digital assistant.
https://github.com/arsho/pyvis

Last synced: over 1 year ago
JSON representation

Voice activated digital assistant.

Awesome Lists containing this project

README

          


Voice activated digital assistant. Created using Python3, SpeechRecognition, espeak and pyaudio.



How to use:

#### Install Dependencies

I prefer using Virtual environment to play with new libraries and packages so that my core packages remain unharmed.
To use this in virtual environment open a terminal (I am using Ubuntu 15.04 and Python3) and follow the steps.

1. Create and activate `virtualenv` (Virtual Environment) with `Python3`:

$ virtualenv -p python3 venv
$ source venv/bin/activate

2. Install necesarry packages inside the `virtualenv`:

(venv)$ pip install SpeechRecognition
(venv)$ pip install pyaudio

or install these packages from `requirements.txt` attached to this repository:

(venv)$ pip install -r requirements.txt

3. Install `espeak`:

(venv)$ sudo apt-get install espeak

#### Running Python code using IDLE3 in Virtual Environment

To run IDLE3 while `venv` is activated use the following command. Then browse and open the file using `idle3`.

(venv)$ python -m idlelib.idle


  • Run tts_stt.py.

  • Start talking!

Enjoy!