Electronic – Need help with adding volume control to op amp!

amplifieroperational-amplifier

I am trying to add a volume control to this audio headphone circuit I found online:

enter image description here

As you can see, there are two 470k ohm resistors on the input signal.

Here is my circuit that I created based off this one:
enter image description here

I want to know if this would work or not. I have no way of testing this as its all SMD and going on a PCB. Can anyone let me know if this will work??

Best Answer

Change it to an active gain control. In your black (why?) circuit, remove R50/51, make the op-amp inverting, connect pin 3 to ground, and provide a linear 50k pot with one end connected to the output at pin 6, the other end connected to the input point of right of R10, and the wiper connected to pin 2. Provide 15pF or so across the pot for stability.

I agree with @AdamHaun about the excessive input impedance and filtering. Just provide C2=220nF looking into R33=47k shunt to ground, and change C4 to 2.7nF to provide a pole at 58kHz: that will be almost flat to 20kHz and still get rid of any RF nasties.