This is making me feel really stupid but I need some help. I'm trying to make a Hybrid synthesizer for fun. With hybrid synthesis the VCO is replaced with a digital Oscillator.
With all the research papers I've read I've got the impression its really a matter of placing a value on the output pin from a look up table, basically a big array. So the formula boils down to print value from the LUT to the analog I/O and increment the counter, then repeat. I could use a separate chip to do the waveform generation but its sounded better to do it on the chip like the ESQ-1 does.
I haven't programmed in a few years but hitting such a simple roadblock is really frustrating. If anyone can help that would be amazing.
http://pastebin.com/QL9bGreA <---code
With all the research papers I've read I've got the impression its really a matter of placing a value on the output pin from a look up table, basically a big array. So the formula boils down to print value from the LUT to the analog I/O and increment the counter, then repeat. I could use a separate chip to do the waveform generation but its sounded better to do it on the chip like the ESQ-1 does.
I haven't programmed in a few years but hitting such a simple roadblock is really frustrating. If anyone can help that would be amazing.
http://pastebin.com/QL9bGreA <---code