The goal of this project is to provide an interface for journeyers to present stories, and earn their place among the members of the Journey Bards. Journeyers are encouraged to find muses in the room that may inspire them to take a journey out into the party and collect an adventure. For more lore, see Lore, below.
There are 3 phases:
(All of the set up phase has already been done for the raspberry pi)
-
You will need the following materials:
- raspberry pii
- RFID reader
- female-to-female jumper cables
- soldering kit for RFID reader
- RFID tags (13.56 MHz)
- "Muse" items
-
Solder RFID connectors and use female-female jumper cables to connect the RFID reader to the raspberry pi, using the schematic here: Raspberry Pi RFID
-
Set up environment on the raspberry pi for RFID python libraries (also outlined here: Raspberry Pi RFID)
-
Install packages for playing audio and text-to-speech
apt-get install mpg123 gTTs
- Force audio output to headphone jack and connect speakers.
amixer cset numid=3 1
raspi-config
Select: Advanced Options > Audio > Force Headphone Jack
To get ready for the party, you will need to:
- Make sure the pi has internet (only necessary to download background music or pull down changes to the repo, not necessary throughout the party)
- update internet with raspi-config
- Update the muses list with any found items
- Register each RFID tag with the associated muse.
- Download background music and create the "text-to-speech" output
- Run the interactive program for the party.
Add any muses to the json file in keys.json.
Run this program to register each of the items onto an RFID tag. The program will print an item on the screen, then tap the corresponding RFID tag to the reader and it will write that string onto the tag.
python3 setup_keys.py
This script downloads all the background music specified in background_music.json, and creates speech-to-text for all the phrases in messages.json, with the keys from the keys.json file subbed in.
Please use your creativity and humor to add additional messages to messages.json. This makes the JourneyBard portal seem more dynamic and interesting.
If you want to add additional background music, you can edit the background_music.json file. All of the music is currently downloaded onto the pi. Note: if you don't want to re-download the music, do not provide --bg-music
to the setup_audio.py script.
python3 setup_audio.py --bg-music --messages
Now you're ready to play! Just run the below:
python3 read_keys.py
In general, it should be good-to-go (with the exception of adding muses). The following may be things you want to do in maintenance mode:
* Address bugs that arise (there will certainly be bugs)
* Add messages to send people to specific rooms/destinations for certain muses.
Here is the additional lore:
- Frame story, like Canterbury tales, or Sheherezade and the 1001 nights
The story begins with those who enter.
Once upon a time there was a guild of bards and storytellers, taking on new apprenticeships,. They look at the stories and choose one that appeals to them, or an opject on the wall they choose as a muse.
You will find a way for these stories or muses to send them to other rooms, as apprentice storytellers.
There they will have an adventure, and if they return, and we feel their story worthy, they will be allowed to change one of the stories currently in the book, and move up from apprentice to journeybard.
If they fail to delight us with their adventure take, they can choose to give their apprentice button to someone else, or to try again.
The Journeybard is given a button to recruit an apprentice, and asked to return and tell us the tale. If they impress this time, they become full BardGuild members and are allowed to write a sentence of their choosing on the empty door, telling the story of the RS19 BardGuild.