Building a synth + drum machine

For university a group of us are building a synth with a builtin drum machine. we are using two Atemga328's.
We are going to be using piezo to pick up sound rather than play sound and a touch screen (from an nintendo ds) to have effects.

Any help is welcome :slight_smile:

Some sample code to get you started:

void setup()
{
}

void loop()
{
}

All you need to do is fill in the bits between the curly braces.

Unless you have already built your synth, and have written some code that you need help debugging, you might be better off in the Project Guidance or Audio Forums.

Search WilliamK's posts, he's done a lot with synth's.

I prototyped some electric drums back in college too.
Used a telephone mouthpiece mic to trigger an envelope generator, used that as gain control for a voltage controlled amplfier that had a frequency fed into it.
You could do similar digitally - piezo to trigger arduino, output an envelope mixed with a frequency using internal math, drive a DAC with the result.