Adding a volume control for headphones, driven by microcontroller
You can place a 1kOhm potentiometer in series with R1. This will control the current flowing into the 4-8 Ohm speaker load. It will also alter the cut-off frequency of the High-Pass filter, but I think this should not be a problem.