A CRT-head costume trades typed dialogue for speech recognition

Raspberry Pi, wearable

This is the read-only HTML version. For the full Visual Space experience, open the app.

CRT helmet, LED matrix — Image

CRT helmet, LED matrix — Image

Source: Computer Head Costume on Hackaday.io · Skye Rutan-bedard

Speech recognition, costume

Skye Rutan-bedard’s Raspberry Pi costume turns quiet speech into a synthetic voice and gives a 16×16 LED face more expressions. The key software fix is knowing when to stop listening: otherwise, the helmet can recognize its own speaker.

Award badge 1
❤️ 1

A computer-head costume needs more than a convincing face—it needs a way to hold a conversation. In the 2021 Computer Head Costume project on Hackaday.io, Skye Rutan-bedard revisited a wearable CRT-monitor shell whose synthetic voice originally depended on a wireless keyboard. The upgrade aimed to replace slow, carefully typed replies with speech recognition, while giving its LED eye more to do.

The earlier costume already worked, but its interface fought the performance. With no screen showing the typed text, Rutan-bedard had to look down, enter a reply and hope it contained no mistakes. A keyboard fit the computer theme; it didn’t make conversation flow.

The monitor shell becomes a face

The September 27, 2021 construction log describes the existing helmet: a gutted CRT case, a bottom opening edged with pipe insulation, a hard hat epoxied inside and an acrylic one-way mirror fitted into the screen opening.

A Raspberry Pi drove a 16×16 NeoPixel matrix and sent eSpeak’s synthesized speech through an amplifier and speaker. The eye animation was economical: four drawn frames, reflected horizontally to produce eight possible images. A state machine randomly moved between gaze positions and occasional blinks, making the face active without requiring constant input.

That was a useful starting point, but it left most of the display’s expressive possibilities unused. Rutan-bedard also described the helmet as heavy, poorly balanced and difficult to put on. Those were explicit improvement goals, though the visible update excerpts document the software changes much more clearly than any ergonomic redesign.

The voice must stop listening to itself

The new dialogue path was speech-to-text-to-speech: recognize the wearer’s words, then have eSpeak repeat them in the costume’s voice. In the October 2 log, Rutan-bedard describes adapting a DeepSpeech microphone-streaming example into a script for this purpose.

The first approach relied on the speech engine’s blocking runAndWait() call. The expectation was that while eSpeak talked, microphone collection would stop too. It didn’t: audio capture ran on a separate thread, so the system could hear its own output and recognize it again.

The fix was explicit rather than incidental. Pause the microphone stream before speaking, then restart it afterward. Rutan-bedard also checked that recognized text wasn’t empty, because passing an empty string to the chosen pyttsx3 setup caused a crash. The log reports that this combination worked.

It’s a small implementation detail with a large effect on the interaction. Waiting for one task to finish doesn’t necessarily stop another task from collecting input; the microphone needs its own control. Here, the costume deliberately alternates between listening and speaking instead of trying to do both at once.

The hardware changed alongside the code. A Raspberry Pi 4 with 4 GB of RAM replaced the earlier Pi 3 B+, which Rutan-bedard said worked but had a noticeably longer recognition delay. A microphone replaced the keyboard, with low-volume pickup an important requirement.

One eye gains a larger vocabulary

By the October 27 update, Rutan-bedard reported adding more animations and icons, a song-playing system and final adjustments.

The display code kept its original eye-animation state machine but placed it inside a higher-level mode, called a “metastate.” In the default mode, the eye continued looking around and blinking. Other modes selected different animations or static symbols, including a moving clock and a jack-o’-lantern.

The speech-recognition and display programs exchanged that mode through a shared shared.pkl file. Rutan-bedard described this as an expedient way to make the programs cooperate without learning threading for the display interface. The tradeoff is visible in the design: separate programs could coordinate through a simple file, while the costume gained expressions beyond its default eye. The linked computerHead repository and speechRec branch are the places to follow the implementation referenced in the logs.

The next test is wearing it

The final supplied build log, dated October 28, 2021, reports an improvement over the previous year’s costume and accompanies a demonstration. Rutan-bedard notes that the microphone was removed so the costume could be controlled without wearing it while recording alone.

That leaves a useful distinction between demonstrating the electronics and evaluating the whole wearable. The documented changes address two clear bottlenecks—typed dialogue and a limited animation set—but comfort and conversation while wearing the shell remain the things to examine next. For a costume like this, the interface is part of the performance: a face can have hundreds of possible pixels, yet the most consequential feature may be simply letting its wearer answer without looking down.

Source: Computer Head Costume

Hardware

3 Followers

A workshop for electronics and physical computing. Share circuits, boards, tools and prototypes; work through measurement and debugging, compare components, and document the choices that turn an idea into working hardware.

Visual Space is built for projects like this—where creators collaborate, organize goals, and grow communities around real work.