Get Help
Theremin
Introduction
A theremin is a musical instrument that is played by holding your hand in front of a sensor. The farther out from the sensor, the higher the tone.
Today, we’re going to make Sparki into a theremin, using the ultrasonic range finder as input, and the buzzer as output.
What You’ll Need
- A Sparki.
How It Works
This program makes Sparki into a theremin, using Sparki’s ultrasonic distance sensor to measure the hand distance, and the buzzer to play the tone:
Related Lessons
If you have enjoyed what you have learned here, and if you have not read it yet, you may find the other lesson about making music interesting: Making Music with the Accelerometer.
Lesson available for the miniBloq Programming Environment
A similar lesson (although not exactly the same) is also available for the miniBloq Programming Environment. miniBloq is a graphical programming environment that you can use to easily program your Sparki.