Robin2:
So the project wasn't really "URGENT" after all ...Have you already got working code that generates the sine wave that you want? Let's imagine it is in a function called makeSound()
Now all you need is code in loop() like this
void loop() {
moveServo();
makeSound();
recordSound();
}
Or maybe like thisvoid loop() {
moveServo();
startRecord();
makeSound();
stopRecord();
}...R
the first thread i made was a few months ago and updated it last week to say URGENT....the problem with your suggestion is that the servos move a pan and tilt mount and i require one reading per angle.