Currently in the midst of creating a little DDS function generator, and could use some input on how best to approach adding offsets and adjusting gain, as the frequencies are a fair bit higher than audio, I felt potentiomers are ruled out.
What i would like is to be be able to control the output offset, over the output range and be able to control the output amplitude from 0.2 - 23V p-p, however I'm also aiming for a cheaper solution (1-$10 is good),
At the moment i am fine with either digital or analog control,
The source is 0.02Hz - 3 MHz (DDS), giving out sine or square, (Lets say up to 40Mhz components)
The output of the DDS is 0.6V p-p
Attached is the circuit i am currently using to amplify the output, FDAC is the filtered output of the DDS, and FOUT is the output to the external world.