I'm working on a fairly simple bit of arduino code for my ardcore eurorack module (for those of you who don't know the module I'm talking about http://snazzyfx.com/ardcore.html with the manual here at the top of the page http://snazzyfx.com/instruction.html ) but I can't seem to get the arduino to function how I want it to.
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
I don't think that reading a single input sample and multiplying by a bunch of different sine wave samples will get what you want. Don't you have to read one input sample for each output sample?
Here is the existing sketch if anyone else wants to help:
Hmm alright. I was just following examples that came with the module to see how they call up the different ports. I'll have to work on optimizing it more once I get it working.
My sketch is definitely a bit of a Frankenstein sketch but I don't quite understand why it wouldn't work. I'll keep at it and post something when I get it working.