logo
Kurashizu Blogwhere ideas flow
  • Home
  • News
  • Blog
  • About
  • Home
  • News
  • Blog
  • About

© 2026 Kurashizu. All rights reserved.

Admin·New Post·Service Status
Powered by Cloudflare·06.11.26
← Back to news

Air Theremin – A browser theremin you play by waving at your webcam

Original article
theremin.bizibah.com|244 points|83 comments|by gurov|Aug 19, 2026

Air Theremin: A Webcam-Powered Browser Instrument

Experience a digital instrument that you play without touching any keys physical contact. Air Theremin allows you to generate sound simply by waving at your camera or tilting your device.

🕹️ Control Mechanisms

You can interact with the instrument using two distinct input methods:

1. Hand Tracking (Webcam)

Using your camera, the app tracks your motion to modulate sound:

  • Volume: Spread hands→Loud\text{Spread hands} \rightarrow \text{Loud}Spread hands→Loud
  • Pitch: Raise hands→Higher Frequency\text{Raise hands} \rightarrow \text{Higher Frequency}Raise hands→Higher Frequency
  • Tone: Lean backward to create a "darker," more spacious atmosphere.
  • Mute: Place your palms together for total silence.

2. Gyroscope (Mobile)

On a smartphone, the device's orientation controls the output:

  • Volume: Tilt the phone left or right.
  • Pitch: Tilt the phone forward or backward.
  • Silence: Move the marker outside the designated frame.

📊 Comparison of Input Modes

FeatureHANDS ModeGYRO Mode
Volume ControlHand WidthLeft ↔\leftrightarrow↔ Right Tilt
Pitch ControlVertical HeightForward ↔\leftrightarrow↔ Backward Tilt
Silence TriggerPalms TogetherMarker outside frame
NuanceLeaning back for "Room"Fixed range within frame

🛠️ Technical Setup & UI

To begin, simply click the START button. If you are using a mobile device, hold the phone steady so the system can calibrate to your specific grip.

Setup Checklist:

  • Grant camera/gyro permissions
  • Press START
  • Calibrate grip (Mobile only)

Audio Configuration

The interface provides several options to customize your sound:

Waveforms: SINE →\rightarrow→ TRI →\rightarrow→ WARM →\rightarrow→ REED

Effects (FX):

  • VIB (Vibrato)
  • TREM (Tremolo)
  • ECHO (Delay)
  • REC (Recording)
  • PAUSE

📐 Logic Flow

💻 Implementation Detail

The relationship between motion and sound can be simplified as: Output=Waveform(Pitch)×Volume×FX\text{Output} = \text{Waveform}(\text{Pitch}) \times \text{Volume} \times \text{FX}Output=Waveform(Pitch)×Volume×FX

// Conceptual logic for volume based on hand spread
if (handDistance > threshold) {
    volume = map(handDistance, min, max, 0, 1);
} else {
    volume = 0; // Palms together = silence
}

Air Theremin Concept

Credits & Origins Developed by Pavel Gurov (Contact: lucius.gu@gmail.com). This project is based on the work found at theremin.site.