Jawduino help with code

I am trying to build a servo controller using an audio input. It is a Jawduino I saw on you tube. I built the circuit and have everything connected but keep getting error messages.
this is the sample code I have. The error message says audio_updated was not declared in this scope

void setup()
{ audio_updates()

audio_value = 0;
if (analogRead(A0) < 341) audio_value += 60;
if (analogRead(A1) < 341) audio_value += 60;
if (analogRead(A2) < 341) audio_value += 60;

}

void loop() {
audio_updates()
{
audio_value = 0;
if (analogRead(A0) < 341) audio_value += 60;
if (analogRead(A1) < 341) audio_value += 60;
if (analogRead(A2) < 341) audio_value += 60;
}

audio_updates()You appear to be missing a semicolon (and code tags, and all of your code)

Hi,
Welcome to the forum.

Please read the first post in any forum entitled how to use this forum.
http://forum.arduino.cc/index.php/topic,148850.0.html then look down to item #7 about how to post your code.
It will be formatted in a scrolling window that makes it easier to read.

Thanks.. Tom.. :slight_smile: