O'Reilly logo

Raspberry Pi Projects For Dummies by Brock Craft, Jonathan Evans, Mike Cook

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 12

The Raspberry Jazz Glitter Trio

In This Chapter

arrow Hacking a glitter lamp

arrow Attaching a webcam

arrow Reading an image

arrow Assigning sound

arrow Extracting pixel data

arrow Creating the band

This is a fun project that creates a free jazz trio inside your Raspberry Pi. (Some people joke that free jazz got its name because no one would ever pay for it. True, jazz is an acquired taste and a little goes a long way, but this is a fascinating little project nevertheless.) The project points a webcam at a glitter lamp, the kind that features glitter floating in a liquid. The camera acts as a high-resolution multicolor sensor. It uses the data gathered from the glitter lamp to trigger the sounds for the project, thus creating free jazz.

Meeting the Gang

The photograph in Figure 12-1 shows our version of the Raspberry Pi jazz glitter trio. Yours may be a bit different because of the exact materials you’re ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required