The Interactive Storytelling Radio

5,347

52

9

Introduction: The Interactive Storytelling Radio

About: Hi, we’re Dane & Nicole, two makers that create stuff, which we happily share with you!

In this project we convert a neat looking radio into a voice-enabled, interactive storyteller. Future, here we come!

Supplies

Step 1: Project Video

Step 2: Radio

Like most retrofitting projects, this one starts with some old electronics, to be precise, a Bjazzo Ts by Telefunken, made sometime during the 1960's in West-Germany.

First up is determining what's reusable. The best way to find out is by disassembling our vintage tech. This step is different for every device, but removing all screws you encounter is a great start.

Lucky us, we can salvage both the original speaker and the on/off button. We also keep the part that's holding up all the buttons.

After this successful operation we are left with some reusable components and a semi empty frame.

Step 3: Hardware

With our newly created space and reusable parts we move on to the next step, adding our own hardware.

The aim is to make a voice controllable, interactive, storytelling device. This means we need a microphone and speaker, combined with some sort of processing power. Que the Google AIY Voice Kit, a hardware package perfect for our endeavor.

Following their build instructions is straightforward, but instead of the provided speaker and button, we connect the ones we recovered from our old radio. With all the hardware assembled and ready, we can now run any of the provided examples.

Step 4: Story

Before we can build our story, we need to come up with a fitting theme.
As mentioned before, our radio was made sometime during the 1960's in West-Germany. This was during the cold war in a vital location.

When thinking of the cold war, we think of espionage, and just like that we have our theme, spying!

There is one more todo before we move on to the chatbot building, the story structure. Because we want our plot to change based on the users input, we need to design a decision tree. Once finished we're all set to sneak to the next step.

Step 5: Chatbot

Success, with the story complete we can start on the chatbot.
Ideally we'd have a piece of software that helps with picking the right response, both extracting meaning from the spoken text, and making the plot decisions.

This is is exactly what a chatbot platform provides, both detecting meaning in text ('Natural Language Processing') and making decisions.

There are many providers out there, and you can pick any of them, however, we picked Google Dialogflow because it's free and easy to use. Dialogflow has a great getting started guide right here.

After some setting up and creative writing the chatbot is ready to go. Now we connect the local hardware with the chatbot, transforming our invention into a true voicebot.

The complete code is included in this article, this is the data flow:

1
The microphone picks up someone speaking and records the audio.

2-3
Using some Google AI magic (Speech-To-Text) we extract the spoken text from the audio.

4-5
This text is sent to our chatbot (Dialogflow) and is matched with the correct response, which is sent back to the Raspberry Pi.

6-7
Using some more artificial intelligence voodoo, this text is used to generate artificial speech.

8
This audio is broadcast to the person via the speaker.

Note: This whole process in only activated when the radio's button is turned to the 'ON' status.

Step 6: Result

After all this hard work, it's finally time to kick back, relax and explore all the different possibilities our interactive storyteller has to offer.

Robots Contest

Participated in the
Robots Contest

Be the First to Share

    Recommendations

    • Home Decor Challenge

      Home Decor Challenge
    • Explore Science Challenge

      Explore Science Challenge
    • Furniture Contest

      Furniture Contest

    9 Comments

    0
    Brenden777
    Brenden777

    3 months ago

    I found this project in Make Magazine, I would like to build it, it sounds great, however if you could post detailed steps to build it, or tell be where i can buy them, that would be great, I could get started, what I see here is some very strong clues on how to make it geared to folks "already in the know", but, have a great day

    0
    SriHarsha Reddy
    SriHarsha Reddy

    8 months ago

    Hello,
    I am tried your Project of storyteller But i am facing so many issues in it......Can you give a detailed description for this project......
    Thank You.......

    0
    8BitsAndAByte
    8BitsAndAByte

    Reply 8 months ago

    Hi,
    It's tricky to answer without more information, are you able to get the voice kit working?

    Cheers,
    8 Bits

    0
    SriHarsha Reddy
    SriHarsha Reddy

    Reply 8 months ago

    yes.....its working

    0
    pcapelo
    pcapelo

    9 months ago

    Hi, I loved your project, I would love to see more detail information on your setup, I would love to replicate and add one of my son's "choose your own adventure" book. more info on the setup on the py and the dialoflow would be awesome. maybe more print screens, maybe more details on what kind of agent you used, how did you added the text for the decision tree, etc.

    I ordered the parts and once I have everything I will try figure out, as much as I can, from your instructables.

    thank you again for any extra info you can provide.

    0
    8BitsAndAByte
    8BitsAndAByte

    Reply 9 months ago

    Awesome!
    We're happy to help, if you have any questions let us know.

    0
    pcapelo
    pcapelo

    Reply 9 months ago

    I am getting the parts, I am trying to build the chatbot with the content I want and I will get python installed. I will sure appreciate your help. There will be a lot of learning for me. :)

    0
    RaspberryPiAsh
    RaspberryPiAsh

    9 months ago

    We like this! It should be on the Raspberry Pi blog on Monday :-D

    0
    8BitsAndAByte
    8BitsAndAByte

    Reply 9 months ago

    Awesome!