Hello, I am making an ondes martenot style synth using the arduino board.
An ondes martenot is a musical instrument where the pitch of the note is controlled by a ribbon which moves across and back.
So far I have built a ribbon mechanism using multiturn potentiomenter (10 turns) and a reel wound with some nylon string.
The software I have written reads the analog pin and and uses this value to change the delay of the microseconds function (via a formula to make the pitch change linear when the string is moved)
So far the 'slider' only produces a varying frequency square wave.
I want to be able to make it produce a sin wave (or something similar) with the amplitude being controlled by a second potentiometer.
I have experimented with the ardiunos on board PWM output but found that this sounds terrible and the maximum frequency isn't high enough.
Does anyone know of a way that I can connect the arduino to a DAC? I understand that the maximum bit depth possible is 12bits for a parallel DAC as there are only 13 pins available but I think that should be OK.
I am planning to make a sin wave lookup table and step through the values with a delay controlled by the pot value and output to the DAC.
Any advice would be appreciated, thanks
A video of what I have built so far (apologies for the pitching :-p)