Tagging — what this page tells machines
Theremin
Everything below is normally invisible. It is what search engines and LLMs read to decide whether to retrieve and cite this page.
About
A theremin you play by dragging: left-to-right is pitch across three octaves, top-to-bottom is volume. Switch waveform for a purer or buzzier tone. Sound only plays while you're touching the pad.
How it works
A single Web Audio OscillatorNode into a GainNode; pointer X maps to frequency (110 Hz up three octaves, logarithmic), pointer Y to gain, both smoothed with setTargetAtTime. The audio context is created on your first touch (no autoplay). No backend.
Metadata
Heading outline
- Theremin
Structured data (JSON-LD)
TechArticle
Same as Article, flagged as technical/developer reference material.
{
"@context": "https://schema.org",
"@type": "TechArticle",
"headline": "Theremin — sound",
"description": "Play a browser theremin — drag across the pad and X sets the pitch, Y the volume. Four waveforms, in the browser with the Web Audio API.",
"url": "https://kaspirius.com/theremin",
"mainEntityOfPage": {
"@type": "WebPage",
"@id": "https://kaspirius.com/theremin"
},
"datePublished": "2026-06-18",
"dateModified": "2026-06-18",
"author": {
"@type": "Person",
"name": "kaspirius",
"url": "https://kaspirius.com"
},
"publisher": {
"@type": "Organization",
"name": "kaspirius",
"url": "https://kaspirius.com"
}
}