voiceplay is a command-line program that listens to voice in background and gets activated by a wake word - Vicki (processing is done offline using Kitt.ai snowboy and only after that records audio later transcribed by Google Voice Recognition (code can be modified to use any of engines supported by SpeechRecognition library). It requires the Python interpreter, versions 2.7, 3.3, 3.4, 3.5, 3.6 and is not platform specific. It should work on your Linux or on Mac OS X. It is released to the public domain, which means you can modify it, redistribute it or use it however you like.
voiceplay submits its crashlogs to URL specified in voiceplay/config/config.py
or configuration file
using bugtracker_url
parameter. While there's nothing that can compromise your system, be sure to read
source code located at voiceplay/utils/crashlog.py
. By using this software you're giving your consent
to transmit crash logs for further analysis and software bugfixes.
- Download and install Virtualbox
- Download and install Vagrant
- Initialize vagrant image:
vagrant init tb0hdan/voiceplay
- Start vagrant VM:
vagrant up
- Use voiceplay
vagrant ssh
thenvoiceplay -w
Please follow the instructions of the following command:
voiceplay --configure
Start application:
voiceplay -w
Then say 'Vicki', application should reply 'Yes', proceed with command from the list below.
Note: Add -v
for increased verbosity level.
Note: Add -s
to set Skype status on track change (doesn't work from Vagrant)
./voiceplay.sh -c
then type any command from the list below.
to quit, either type 'quit' or press CTRL+D
pause
next
stop
play beat it by Michael Jackson
play top tracks by Michael Jackson
Then select track number (1-10)
play one
play some music by Michael Jackson
or
play some tracks by Michael Jackson
or
play some songs by Michael Jackson
play new tracks by Robin Schulz
play my library
play my history
play top tracks in united states
or just
play top tracks
Billboard top 100:
play top 100 tracks
Rolling Stone top 500:
play top 500 tracks
Reddit music (/r/Music/):
play top reddit tracks
play tracks from crimson by sentenced
play edm station
or
play melodic death metal station
play dj fm station from tunein
play folk metal station from radionomy
play etn.fm station from icecast
play url http://66.207.196.218:8130/
play url https://www.youtube.com/watch?v=VrGScAzGtXs
P.S. Full list of supported media sources can be found at youtube_dl extractors page
User agent / Referer hack from https://github.com/Bitcrusher/Digitally-Imported-XBMC-plugin
play vocal trance station from di
WARNING: Some systems require System Integrity Check (SIC!) disabled prior to installing system-wide python modules.
If this is the case either use csrutil
to disable or virtualenv/virtualenvwrapper
(recommended) to install packages locally.
Please make sure you have following dependencies resolved prior to proceeding with other steps:
- Xcode (https://itunes.apple.com/us/app/xcode/id497799835)
- Growl (http://growl.info/) installed and running
- VLC (http://videolan.org) installed and up to date
then continue to:
brew install ffmpeg portaudio cmu-pocketsphinx swig libmagic
sudo easy_install-2.7 pip
sudo pip install pyobjc
sudo apt-get install python-all-dev python-setuptools
sudo apt-get install libav-tools festival festival-dev portaudio19-dev vlc
sudo apt-get install pocketsphinx swig libmagic1 libpulse-dev libreadline-dev
sudo apt-get install libblas-dev liblapack-dev libatlas-dev libatlas-base-dev
sudo apt-get install python-gobject libnotify-bin libnotify-dev
sudo easy_install pip
sudo pip install pyfestival
git clone https://github.com/tb0hdan/voiceplay
cd voiceplay
sudo pip install --global-option='build_ext' --global-option='-I/usr/local/include' --global-option='-L/usr/local/lib' pyaudio
./voiceplay.sh requirements
make deps
./voiceplay.sh -cd
https://github.com/jkramer/shell-fm
https://github.com/dbrgn/orochi
https://github.com/alexa-pi/AlexaPi
https://github.com/edouardpoitras/eva
https://github.com/rcbyron/hey-athena-client
https://github.com/jasperproject/jasper-client
https://github.com/MycroftAI/mycroft-core
https://github.com/tajddin/voiceplay
https://github.com/home-assistant/home-assistant
voiceplay is released into the public domain by its authors.
This README file was originally written by Bohdan Turkynewych and is likewise released into the public domain.