main · play · me
ultrasonic theremin Add ϲomment


This is a puredata patch which implements an 'ultrasonic theremin'.

High-frequency chirps are played over the laptop speakers, and the reflected audio signal is received by the built-in microphone (above the keyboard on this particular notebook model). The puredata program calculates the time that was needed for the sound to be echoed back and drives a simple tone generator to create a sound. The resulting sound is played over the same speakers as the ultrasonic chirps.

The second video shows a simple OpenGL game controlled by ultrasone.

Just the laptop, no additional hardware
A simple game, controlled by ultrasone


Get the patch here: ultrasonic_theremin.pd

Important note: Puredata needs to be running on a samplerate of at least 88200 HZ to allow the high-frequency chirps to be played and recored. The patch was only tested on a Dell D830, it might or might not work on other hardware.

On Thu Aug 7 22:20:02 CEST 2008, StefseL wrote:
Hehehehe, prutser :D
On Fri Aug 8 12:41:32 CEST 2008, Leoanrd wrote:
hehehe vet, prutoshr !
On Fri Aug 8 14:54:44 CEST 2008, BasM wrote:
Haha, tijd over! Cool.
On Tue Aug 12 16:05:11 CEST 2008, MichelS wrote:
Mooi werk! en nu nog een grafisch plaatje wat weergeeft waar op het toetsenbord m'n handen zitten (da's pas eng)!
On Sun Nov 2 10:46:28 CET 2008, wrote:
I really liked the fact that it's stereo-supported, while it's only got one mic. Bravo! I guess there should be possible to measure pitch as well as roll, but maybe not at the resolutins a laptop can offer. Guess we'll just have to wait for Moore's law on that one
On Tue Jan 27 12:16:42 CET 2009, Duy Truong wrote:
Uhh... what version of PD were you using? Im on 0.40.3 and it returns lots of errors...
On Mon Mar 30 16:39:32 CEST 2009, carolyn lawpaugh wrote:
That's wicked cool!!!
On Mon Dec 7 01:11:11 CET 2009, bwoo wrote:
Great idea, very impressive :)
On Mon Dec 7 12:46:25 CET 2009, Leonard wrote:
Hey, saw you sent your blurb to hackaday, but no mention of hot melting speaker coils, maybe you should inform them about that ? :P cheers, Leonard.