I'm pretty new to arduino and have minimal background in C/C++. Thankfully there are a few example files and premade sketches that come with an ardcore so I've been reverse engineering those patches and trying to create one myself.

My sketch is pretty simple but I can't get it to work properly. My sketch generates a sine wave and multiplies it by the audio input to achieve a ring modulate sound. For some reason I can't get this to work... I'm probably overlooking something simple, some one help please :x