Pages: [1]   Go Down
Author Topic: Pseudo Theremin  (Read 3002 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
God Member
*****
Karma: 3
Posts: 716
a, b = b, a+b
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi Everyone

I just was interested in connecting Arduino and Max (http://cycling74.com/products/maxmspjitter/)

I hooked up two Sharp IR distance sensors and built myself something similar to a theremin.

Everything is super simple and basic, but the result is sort of fun, so I felt like posting it.

 

Edit --> some reverb:



Cheers


P.
« Last Edit: January 30, 2011, 03:09:52 am by fkeel » Logged


Offline Offline
God Member
*****
Karma: 3
Posts: 716
a, b = b, a+b
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

actually thats a bug :-D

but I like it.

what happens is I record the signal from the sensor as an int. I then scale it up a bit to create a larger bandwidth of tones. This of course creates steps.
using a float would fix that... but hey. broken things often are the most fun.

(I have just discovered that I can load an endles chain of vst effects into Max. My room sounds like the soundtrack to a 60ies horror movie. I can get it to sound like a banjee or something :-D ... I better stop before my neighbors call the police [or an exorcist])
« Last Edit: January 30, 2011, 03:11:46 am by fkeel » Logged


0
Offline Offline
Jr. Member
**
Karma: 1
Posts: 82
Uno momento
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Wow, that's great.  That stepped effect sounds like you could brand this as an "Autotune Theremin"!  Funky.  Good work dude.
Logged

0
Offline Offline
Newbie
*
Karma: 1
Posts: 41
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Nice work!

Your approach has some inherent advantages over theremins of yore.  It is more compact, easier to build, and more repeatable and predictable than analog circuits that rely on the vagaries of stray capacitance.

A couple of other improvements suggest themselves:

1) Intentional auto-tune, either in hard steps, or a softer tendency to gravitate toward in-tune frequencies
2) Selectable audio waveforms, either by manual switch, or modulated by pitch/volume signals

Maybe we'll see one of these things in next year's Super Bowl half time show.  This year's came off like an auto-tune extravaganza.
Logged

Newcastle, England
Offline Offline
Sr. Member
****
Karma: 3
Posts: 489
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Strange that I saw this, as I was just experimenting with a theremin design earlier. I used the capacitive sensing code from here:

http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1171076259

and added in a tone function, mapping 'fout' to a suitable audio frequncy. It didn't work. The original code is nice though, and I have modified it before for other projects.
Logged

My website: http://www.harryrabbit.co.uk/electronics/home.html Up and running now! (Feel free to look round!) smiley-grin

0
Offline Offline
Newbie
*
Karma: 1
Posts: 41
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

How about a theremin on steroids that could be played with one hand?

Instead of sensing the distance of two hands separately, why not sense the distance and left-right position of one hand simultaneously.  Distance could then control volume, while left-right controls pitch.

While we're at it, a third sensor could add up-down to your hand position sensor.  This could control another parameter like waveform (sin <-> sawtooth) or reverb.
Logged

Pages: [1]   Go Up
Jump to: