Jasper module for my HAL9000 Raspberry PI project that plays random wavs
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE.md
README.md
WavPlay.py

README.md

Jasper-Module-WavPlay

Upon trigger, it plays a random wav file from a pre-configured directory.

Jasper WavPlay Module for my HAL9000 Raspberry PI Instructable

Steps to install WavPlay Module

git clone https://github.com/ArtBIT/jasper-module-wavplay.git
cp jasper-module-wavplay/WavPlay.py <path to jasper/client/modules>
#i.e. cp jasper-module-wavplay/WavPlay.py /usr/local/lib/jasper/client/modules/
mkdir ~/wavs
cp path-to-downloaded-wavs/*.wav ~/wavs
  • Edit ~/.jasper/profile.yml and add the follwing at the bottom:
wavplay:
  path: /home/pi/wavs
  • Restart the Pi:
sudo reboot

Congrats, JASPER WavPlay Module is now installed and ready for use!

Here are some examples:

YOU: Say something.
JASPER: *plays a random wav from the ~/wavs directory*
YOU: Dave?
JASPER: *plays a random wav from the ~/wavs directory*