To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 17819
17818  |  17820
Subject: 
Re: legomin
Newsgroups: 
lugnet.robotics
Date: 
Mon, 6 May 2002 13:29:56 GMT
Viewed: 
660 times
  
I figure other people are going to wonder the same thing I did, and that is
"WTF is a theremin?" So I'll give you the benefit of my search:

http://www.thereminworld.com/learn.asp

Basically, it's a musical instrument you play by waving your hand near,
without touching.

In lugnet.robotics, "Roel Scheijde" <Roel.Scheijde@tiscali.nl> writes:
I'm a big fan of the theremin and this is the lego version.
its basicly the lightsensor above the IR port (as in a proximitie
sensor) and the folowing code in nqc


int level;


task send_signal()
{
while(true)
   {SendMessage(0); Wait(10);}
}

task check_signal()
{
while(true)
{
   level = SENSOR_2 -400;

}
}

task main()
{
SetSensorType(SENSOR_2, SENSOR_TYPE_LIGHT);
SetSensorMode(SENSOR_2, SENSOR_MODE_RAW);
start send_signal;
start check_signal;
while(true)
{
   PlayTone (level, 100);
  }
}





***
email: Roel.Scheijde@tiscali.nl



Message is in Reply To:
  legomin
 
I'm a big fan of the theremin and this is the lego version. its basicly the lightsensor above the IR port (as in a proximitie sensor) and the folowing code in nqc int level; task send_signal() { while(true) {SendMessage(0); Wait(10);} } task (...) (23 years ago, 5-May-02, to lugnet.robotics)

3 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    
Active threads in Robotics

 
Verified and Trusted Team of Hackers
10 hours ago
Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR