Skip to content
项目

bradtraversy/alexis_speech_assistant

在 GitHub 查看

关于

Python speech assist app

人工智能与机器学习

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Alexis Speech Assistant

Python app that uses speech recognition and text-to-speech This app initially used the Google text-to-speech API, but has been updated to use offline text-to-speech with pyttsx3

Dependencies

pip install speechrecognition
pip install pyttsx3
pip install pyaudio
pip install playsound
pip install PyObjC
pip install PyAudio

(If there is a issue in installing PyAudio use .whl file from this link https://www.lfd.uci.edu/~gohlke/pythonlibs/#pyaudio)

Voice Commands

You can add other commands, but these are the ones that exist

  • What is your name?
  • What time is it
  • Search
  • Find Location
  • Exit

Apple Mac OS X (Homebrew & PyAudio)

Use Homebrew to install the prerequisite portaudio library, then install PyAudio using pip:

brew install portaudio pip install pyaudio

Notes:

If not already installed, download Homebrew. pip will download the PyAudio source and build it for your version of Python. Homebrew and building PyAudio also require installing the Command Line Tools for Xcode (more information).

https://people.csail.mit.edu/hubert/pyaudio/

探索相关项目

加载中…