Robot that listens then repeats dru | RobotShop Community

If you are the original author, please access your User Control Panel and update it.

I made this robot using lego NXT. The program is written in NBC/NXC using BrickCC. A drum pattern is played by the user then after one second of silence the robot repeats the pattern played. This is achieved by using the sound sensor, when a sound loud enough is played the time in ms that the sound was registered is recorded into an array. Once the drum pattern is completed the robot then plays a beat that corresponds to the information stored in the array. If anyone wants the source code ...


This is a companion discussion topic for the original entry at https://community.robotshop.com/index.php/robots/show/robot-that-listens-then-repeats-drum-beats-made-from-lego-nxt