Wavebot is an artbot that converts sound to images. Using a controllable pen, it draws the waveforms of the currently playing audio. Wavebot consists of a soft- and hardware part.

The open-source software Processing is used to analyse an audio file or microphone input. Using the minim library, it calculates the coördinates of the waveform and sends them to an Arduino using a serial connection.

An arduino with motor shield is used to drive a motor and a servo. The motor is used to advance a roll of paper, on which a pen, controlled with the servo, draws the waveforms. As Wavebot was a prototype (yet functional), it has a wooden enclosure with lots of tape.

Arduino: http://mdastudent.khlim.be/~cmdi_5120071/1213/icti/wavebot.ino
Processing: http://mdastudent.khlim.be/~cmdi_5120071/1213/icti/wavebot.pde

(make sure to have the Minim library installed)

<p>Hai,</p><p>I found a code that fits what I want ( I think )</p><p>Normally should be replaced in the bottom line <strong><em>300</em></strong> by <strong><em>1023</em></strong> but it does not work right, does anyone know the reason</p><p><em>val = map (fall, 0, <strong>300</strong><strong>,</strong> 0, 179);</em><br>Also you must speak fairly loudly, how come it<br>I am using a MAX4466 electret microphone amplifier B0B # 5646, an Arduino Uno and SG90 9G servos</p><p>Who can help</p><p>At last i need a motor or servo motor, with a potentiometer in order to measure the speed also in the programma</p><p>#include &lt;Servo.h&gt;</p><p>Servo myservo;<br>int val;<br>int SoundInPin = A0;<br>void setup()<br>{<br>myservo.attach(9);<br>pinMode(SoundInPin, INPUT);<br>}<br>void loop()<br>{<br>int sensorValue = analogRead(SoundInPin);<br>val = analogRead(0);<br>val = map(val, 0, 300, 0, 179);<br>myservo.write(val);<br>delay(15);<br>}</p><p>Kind Regards</p>
<p>Hai,</p><p>I can open the 2 source codes , can you help me please</p><p>Kind Regards</p>
<p>Hey Sembot</p><p>The code used to be hosted on my school server, but I'm afraid it's lost forever.</p><p>It shouldn't be too hard to rewrite though. I think some parts of <a href="http://code.compartmental.net/tools/minim/quickstart/" rel="nofollow">this nice guide</a> on Minim could get you started. </p>
Hai ,<br><br>Thanks for the quick info ,but I am a bad programmer <br><br>I'll have to look a little further on the internet for a solution<br><br>In any case, thanks for the effort<br><br>Kind regards

About This Instructable




More by TeisD:Wavebot 
Add instructable to: