Back to Projects

Virtual Theremin

Software theremin with 2D control interface and harmonic synthesis.

Java
Beads
Interactive Audio
Virtual Theremin

Virtual Theremin is a software theremin recreated using the Beads audio library and ControlP5 for user interface controls. The program features an intuitive 2D slider, where the X-axis controls pitch (frequency) and the Y-axis controls volume, simulating the fluid hand movements of an actual theremin. It generates a rich timbre by layering ten harmonics—each an integer multiple of the base frequency—while higher harmonics decrease in amplitude.


Users can smoothly manipulate pitch (from 110Hz to 880Hz) and volume (0.0 to 1.0), with real-time synthesis combining the harmonics into a single output signal. The implementation includes interactive controls and audio processing for an expressive, real-time musical instrument experience. This project demonstrates advanced concepts in additive synthesis, harmonic series manipulation, and real-time audio control, creating a digital instrument that captures the ethereal and expressive qualities of the original theremin while providing modern interface conveniences.