Shop OBEX P1 Docs P2 Docs Learn Events
PENGUIN ROBOT Theremin - the Code — Parallax Forums

PENGUIN ROBOT Theremin - the Code

HumanoidoHumanoido Posts: 5,770
edited 2007-10-30 15:50 in Robotics
Title: Penguin Theremin
Code Name: penguin_theremin.bpx
Purpose: A Penguin Robot Musical Instrument


With this code, Penguin robot now becomes a musical instrument.
Using only your hand, you can play some very interesting tunes.
You may want to record some sounds if you make them scary
for Halloween. It makes a good "aaaaoooooooo" sound too.
Well, it works for any occasion. Go ahead and make your
experimenting and Penguin into the magic music combination!

humanoido

[code]
' This is a program to convert Penguin robot into a musical
' instrument called a theremin. It uses the right photodetector on
' pin 1, and speaker on pin 12. Penguin provides the tempo as a hand
' is moved in proximity to the photodetector to vary the musical
' pitch.

' The first theremin was created by a Russian inventor, L

Comments

  • slashsplatslashsplat Posts: 63
    edited 2007-10-29 20:04
    You freak me out.

    I had a friend growing up, Bobby Mover, who was a Jazz musician. He had an OLD OLD tube theremin at his house and could play the Heck out of it. I was absolutely entranced by the machine. Having no musical talent myself, Halloween was the only time my sounds would be appropriate. I was thinking about him this weekend, and thought about his theremin. His idol was James Dean, I remember his posters, and he had a little sister named Joy.

    As I remember, it had a horizontal bar for volume, and a circular large ring for frequency. Have often though of building one, but since I have ZERO musical talent, it would be a waste... When I studied Electronic Music in college (yeah, in 1973-5 and got a degree in it! Obviously did not require actual musical talent, we were studying Music Concret') I proposed that as an input device for our DEC PDP 11-10 computer and MOOG Model 1s, but never had the time to build it. Too busy partying, I suspect.

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    slashsplat
    /* Ira Chandler */
    BotConnect.com
  • GrievousfishGrievousfish Posts: 54
    edited 2007-10-30 15:50
    Another great one! I have a similar code for another one of my robots that uses feedback from a temperature sensor converted into a tone. By moving my hand closer to or farther away from the temperature sensor, the tone would rise or fall but it was not as quick in its response.

    Thanks humanoido!
Sign In or Register to comment.