Skip to content

Meet JoiBot! A speech assistant bot created using Python's SpeechRecognition library and Google's Text-to-Speech API.

Notifications You must be signed in to change notification settings

joicodes/Python-Speech-Assistant

Repository files navigation

Meet JoiBot 👋🏽

A Python3 speech assistant bot using the SpeechRecognition library and Google's Text-to-Speech API.

Alt Text

Voice Commands

Here are the commands that currently exist (see respond.txt):

Meet JoiBot Commands
  • What is your name?
  • Where are you from?
  • Who is your creator?
Alarms, Timer & Clock Commands
  • What time is it?
  • What is today's date?
  • What day of the week is it?
Web Query Commands
  • Search for pictures of <Search Term>
  • Search for videos of <Search Term>
  • Where is <Search Term>
  • Search for <Search Term>
Wildcard Commands
  • Flip a coin.
  • Roll the dice.
  • Pick a card.

Setup

Dependencies

To install the dependencies, run:

pip3 install -r requirements.txt

Alternatively, you can install individually:

pip3 install speechrecognition
pip3 install pyaudio
pip3 install playsound
pip3 install PyObjC
pip3 install color

If you experience trouble while install pyaudio, install Homebrew and do the following:

brew update
brew install portaudio
brew link --overwrite portaudio

Run JoiBot

In the repo directory, run the following in your terminal:

python3 main.py
Note: Avoid using the terminal in your IDE, as it may not have microphone access.

About

Meet JoiBot! A speech assistant bot created using Python's SpeechRecognition library and Google's Text-to-Speech API.

Topics

Resources

Stars

Watchers

Forks

Languages