Musical NXT
Added: Sep 6, 2008
Author: Joshamuffyn
Duration: 2:4
http://us.mindstorms.lego.com/nxtlog/projectdisplay.aspx?id=c2bfed59-ba86-47dd-ab72-443913065581This is a small thing I concieved, built, and tried to program in NXT-G. ALMOST TOTAL FAILURE. NXT-G does not have the kind of programming flexibility and power I need. Guess what I found? NXC! It stands for Not eXactly C. It works great, and is alot like C, which is convinient for me. If you want it, go here "bricxcc.sourceforge.net"Anyways, you use the motor as a rotation sensor to set the desired frequency in Hz. Then you press the touch sensor to play that frequency. The left button lowers volume and the right button raises the volume. What's nice is you can adjust volume and frequency while holding the touch sensor, and its effects take hold immediately. It's like a slide whistle.
Channel: Howto
Tags:
bricx
bricxcc
c#
c++
frequency
hz
music
nxc
nxt
nxtlog
volume
Rating: 5.00 (1 ratings)
Views: 112
Comments: 1
Added: Sep 6, 2008
Author: Joshamuffyn
Duration: 2:4
http://us.mindstorms.lego.com/nxtlog/projectdisplay.aspx?id=c2bfed59-ba86-47dd-ab72-443913065581This is a small thing I concieved, built, and tried to program in NXT-G. ALMOST TOTAL FAILURE. NXT-G does not have the kind of programming flexibility and power I need. Guess what I found? NXC! It stands for Not eXactly C. It works great, and is alot like C, which is convinient for me. If you want it, go here "bricxcc.sourceforge.net"Anyways, you use the motor as a rotation sensor to set the desired frequency in Hz. Then you press the touch sensor to play that frequency. The left button lowers volume and the right button raises the volume. What's nice is you can adjust volume and frequency while holding the touch sensor, and its effects take hold immediately. It's like a slide whistle.
Channel: Howto
Tags: bricx bricxcc c# c++ frequency hz music nxc nxt nxtlog volume
Rating: 5.00 (1 ratings) Views: 112 Comments: 1

