Skip to content

Python-based virtual assistant with speech recognition and tts

Notifications You must be signed in to change notification settings

nleo-m/my-virtual-assistant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

This is a Python-based virtual assistant with speech recognition and tts.
Currently development is focused on linux dists. And there is a lot to do still.

Setup

First of all, I recommend creating an virtual environment – and don't forget to activate it ;P –, then you're going to need to install required libs:
pip install -r requirements.txt

Copy env.example to .env, and set up your ambient variables. After that, you're good to go, run:
python main.py

It will passive listen, and when you say your "BOTNAME", it will ask how it may aid you and start active listening.

If you're running into issues, you might also need to install some or all of these packages, using your package manager:

  • python3-dev: Python development headers;
  • portaudio19-dev: Development headers for PortAudio, a cross-platform api that allows developers to control audio hardware directly;
  • libpulse-dev: Development headers for the PulseAudio sound server, which is the default for many linux distributions;
  • espeak: Compact open source text-to-speech engine, used by default by the virtual-assistant;

About

Python-based virtual assistant with speech recognition and tts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages