The code to run the smart speaker theatre. Based on the intents that are detected from the user interaction, the speakers do particular things and actions.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
joca d538bfd6e7 new voices, simplified version for grad show 2 years ago
pixel_ring added local version of pixel ring 2 years ago
scripts_play new voices, simplified version for grad show 2 years ago
sounds new voices, simplified version for grad show 2 years ago
tools added news acts, fallback for no recognition, added sounds 2 years ago
.gitignore smoothen things mac pro 2 years ago
01_start_tts simpler and cleaned up backend including handy debugging scripts 2 years ago
02_start_script simpler and cleaned up backend including handy debugging scripts 2 years ago
03_debug simpler and cleaned up backend including handy debugging scripts 2 years ago
README.md smoothen things mac pro 2 years ago
act_tester.py added news acts, fallback for no recognition, added sounds 2 years ago
config.py added news acts, fallback for no recognition, added sounds 2 years ago
logic.py added news acts, fallback for no recognition, added sounds 2 years ago
smart_speaker_theatre.py added news acts, fallback for no recognition, added sounds 2 years ago
tuning.py test for led 2 years ago

README.md

Script reader

This programme reads out a theatre script, using the speech synthesizer Mary TTS.

Install mary-tts following the instructions in the pdf and start it then run the play_script.py


Writing new plays

As an input, write a play in the following format:

CHARACTERNAME: [ stage directions ] text to say

Put the script in the plays directory, and put the filename in play_script.py.

Use instructions.py to set-up the characters and the voices.

Stage directions (for example lights, silences etc.) are still in development