Expanding Auduino

Hi all,

I'm working on expanding Auduino (Google Code Archive - Long-term storage for Google Code Project Hosting.). I wanted to build a synthesizer using Arduino and soon discovered Auduino and got interested in (http://www.granularsynthesis.com) granular synthesis. My original idea was to add a touchable surface made with some piezoelectric sensors and a Processing interface that show the waveform and/or the state of each parameter. And when I get that I'd like to modify the way sound is synthesized, but I don't still have very clear ideas about that.

Early experiments show that I cannot use regular serial communication (meaning Serial.begin(9600)) on the Arduino, as it is based on the speed variables overflow, and the pitch at the output I got was too low compared to the original Auduino. So I got a second Arduino board that will act as a control device between the computer, the touchable surface and the Arduino running Auduino. So the only task of this last Arduino board is to synthesize audio more or less the same way it did in the original project.

So the control Arduino keeps and processes the parameters Auduino uses. Right now these five parameters are sent to the Auduino using a PWM output for each parameter but as the output is not as clean as the reading of a potentiometer the sound I get is really dirty and annoying. I've tried to use a function to smooth the PWM inputs but still I get too much noise compared to the nice (now really seems celestial :P) sound of the original Auduino.

I guess the best solution now is a serial communication that has a really low computational cost. I found a library called UComms but it doesn't seems to be very popular and the web page to download it is down. Any ideas on that? Or any other program that implements that?

Thank you very much!!

do not understand your needs in detail but the serial port can communicate at 345600 baud with a PC. that is a bit quicker than 9600 ...

I've tried to use a function to smooth the PWM inputs but still I get too much noise

That is a very odd way of transferring data. However it is not a function you need to use to smooth PWM but a hardware filter. See this for a discussion:-
http://www.thebox.myzen.co.uk/Tutorial/PWM.html

I am not convinced you need two arduinos for a granular synth, this is what I did with one arduino and wave table look up
http://arduino.cc/forum/index.php/topic,96588.0.html
A granular synth is just made by breaking up the wave table into many small pieces.