Archive

Archive for February, 2009

Arduino + Touchscreen = Touchduino synth

February 21st, 2009 1 comment

So Mike and I found some cheap $2 touch screens from a used computer parts store. They are 4-wire resistive touch screens from various manufacturers. Now everybody knows about the Arduino, and if you don’t it’s basically a Quick-n-Easy prototyping board equipped with 14 digital pins (6 of which can provide PWM output), and 6 analog pins. the chip is an ATmega168 with limited functionality. It reads a modified version of C++ so writing code for it is fairly straight forward, without much variance from that of C++.

I used two analog pins and one digital pin for this project. I wired the touch screen to the 3v pin, the Gnd pin and the analog pins 0 and 1 set to input. In the code (digital) Pin 3 is set to PWM out. I wired the output jack to Gnd and Pin 3. The code generates a sine wave that has it’s frequency and volume variables mapped to the touch screens X and Y. So for example I have my finger at 0 X, 0 Y then my frequency will be 30 and my volume will be around 1 db. As I move up the X the frequency changes and as I move up the Y so does the volume. The frequencies jump up the pentatonic scale and if you put multiple fingers on it then it adds the values together and you get into the way higher frequencies.
I added leds underneath for looks and for functionality so I could remember the location of particular sounds. Altogether its pretty basic but kinda fun. here are some recordings of it that I just made while sitting here making this post.

Click here to play Clean mp3

Click here to play Ringer mp3

Click here to play Wah mp3

MOVIE LINK

-James

Categories: Arduino, Misc. Audio Builds, Synth Tags:

Random7 Windows Update

February 16th, 2009 No comments

Just updated the Random7 for windows. I added some new features and made it a little bit easier to assign the midi i/o. Check it out and let me know what good and bad. Mac version will be coming soon.

Updated Random7 for Windows

-Miketron

Categories: MAX/MSP Tags: