项目作者: dbrennand

项目描述 :
A simple voice assistant.
高级语言: Python
项目地址: git://github.com/dbrennand/VoiceAssistant.git
创建时间: 2018-07-16T09:16:07Z
项目社区:https://github.com/dbrennand/VoiceAssistant

开源协议:MIT License

下载


VoiceAssistant

A Simple voice assistant.

Current Features

  • Search the web:
    Example: “Search what is the tallest building in the world”
  • Tell you the time and date:
    Example: “What is the time?” or “What is the date?”
  • Search for a track from spotify:
    Example: “Play Best Life by Hardy Caprio”
  • Search Google Maps for a location:
    Example: “locate London Eye”

Dependancies

voiceassistant.py is written in python 3 so its REQUIRED

It requires the following packages:

  1. gTTs
  2. speech_recognition
  3. PyAudio
  4. Requests

Install dependancy for PyAudio using:

  1. brew install portaudio

Install Python dependancies using the command:

  1. pipenv install
  • Tested on MacOS.

Prerequisites

To use the search track feature you must:

  1. Have a Spotify Account.

  2. Go to Spotify’s developer website and create an application.

  3. Navigate to you’re apps dashboard and copy the Client ID and Client Secret.

  4. Place Client ID, Client Secret in the respective variables found in voiceassistant:

    1. self.client_id = "Insert Your Key Here."
    2. self.client_secret = "Insert Your Key Here."

Download Options — Installing

Extract and navigate to the zipfile directory and run voiceassistant by executing the main entry point file voiceassistant.py:

  1. python3 voiceassistant.py

Authors — Contributors

License

This project is licensed under the MIT License - see the LICENSE for details.