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
- Host: GitHub
- URL: https://github.com/artbit/jasper-module-wavplay
- Owner: ArtBIT
- License: mit
- Created: 2016-06-19T14:49:32.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-09-15T15:38:11.000Z (about 8 years ago)
- Last Synced: 2025-03-08T21:39:08.288Z (7 months ago)
- Topics: audio, jasper, jasper-module, jasper-modules, play-sounds
- Language: Python
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
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*
```