Skip to content
Robots

This AI-Powered Talking C-3PO Head Lets You Feel What It’s Like to Be R2-D2

Now you too can sputter and bleep in response.
By

Reading time 2 minutes

Comments (2)

May the fourth be with you, and all that. And for Star Wars Day, we’re focusing on one of the film’s less appreciated characters: step forward C-3PO, the shiny golden droid with the personality of a maître d’ who is absolutely not admitting you to the fancy restaurant, no, I’m afraid not, sir, not under any circumstances whatsoever.

Threepio was in the news last month when the original head prop from The Empire Strikes Back fetched over $1 million at auction, making it one of the most expensive pieces of Star Wars-related memorabilia ever sold. (If you haven’t seen the film for a while, the head is separated from its owner after he wanders through the wrong door in Cloud City.) But if you thought you’d missed out on the chance to have a C-3PO head on your coffee table, never fear, because you can build your own—and it’ll even talk to you, if that’s what you really want.

Samuel Potozkin, a student at Chapman University in Orange County, CA, recently posted a video cataloging the process of building a DIY C-3PO head that will hold a conversation with you. The head’s speech capabilities are powered, inevitably, by AI—specifically, they rely on a custom LLM that’s imbued with Tattooine’s prissiest personality.

Conceptually, the pipeline is pretty simple: your speech is picked up by a microphone, which is hooked up to a Raspberry Pi 5. The little computer runs a real-time text-to-speech converter, and once it’s done converting your side of the conversation, it sends the text to the aforementioned LLM as a prompt. The LLM’s response is then run back through a text-to-speech system designed to emulate C-3PO’s distinctive vocal delivery. And bam, there you have it: a chance to experience what it’s like to be R2-D2 for a day.

If you want to know more about the project, Potozkin provides all the details you could ever want in a paper published on his GitHub page. There are some genuinely interesting details to be found—for example, after testing the initial text-to-speech output, Potozkin found that it “did not … align with the metallic vocal tone associated with C-3PO.” He describes the audio post-processing that he used to achieve that tone, which honestly sounds more like your favorite guitarist’s pedalboard setup than anything else: “A short delay line was introduced to create tightly spaced temporal reflections, [and] a chorus effect was applied by slightly modulating the time and pitch of duplicated signal paths, creating the impression of layered vocal resonance.”

The result is certainly impressive: the voice sounds enough like C-3PO that it’d be recognizable even if it wasn’t emanating from a disembodied C-3PO head. But, well, it is, and next May the 4th, you too could make a talking C-3PO head the centerpiece of your annual Star Wars viewing session! What do you make of that idea, R2?

Ah.

Explore more on these topics

Share this story

Sign up for our newsletters

Subscribe and interact with our community, get up to date with our customised Newsletters and much more.