yes, but its not working at all if i do it like u posted. analogRead has to be before the sound=soundn part...