This is an old revision of the document!
Circuit snippets
Some useful snippets for use in electronics projects.
Attenuverter
The gain figure is given by $$V_{out}=(2p-1)\cdot V_{in}$$ where $0\leq p\leq 1$ is the proportion of $V_{in}$ fed into the op-amp's noninverting input. Note also that the original schematic called for a 1k resistor between the op-amp's output and the out jack, but I forgot to include it in the figure. Such a resistor is ideal for limiting the output current in case the output is shorted.