An open API service indexing awesome lists of open source software.

https://github.com/artbit/jasper-module-wavplay

Jasper module for my HAL9000 Raspberry PI project that plays random wavs
https://github.com/artbit/jasper-module-wavplay

audio jasper jasper-module jasper-modules play-sounds

Last synced: 7 months ago
JSON representation

Jasper module for my HAL9000 Raspberry PI project that plays random wavs

Awesome Lists containing this project

README

          

# 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](http://www.instructables.com/id/RaspberryPI-HAL9000/)

## Steps to install WavPlay Module

* download some [HAL9000 wav files](http://www.imdb.com/title/tt0062622/externalsites#sounds)
* run the following commands in order:
```
git clone https://github.com/ArtBIT/jasper-module-wavplay.git
cp jasper-module-wavplay/WavPlay.py
#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*
```