So I tried this circuit in my breadboard and managed to get it to work correctly for the most part. One question that has stumped me is how to control the amplitude margin.
This is the circuit in principle, though I am just using a single LED and 12 volts rather than 5. Also I am using a...