OK In other projects i connect the wiper (2) to 1 or 3 This setup is different.
View attachment 132703
Yes. In the image above, the pot is wired as a variable resistor.
The pot used in the peak detector is wired as a potentiometer.
i thought these caps did not have a polarity? Im using ( bi-polar cap 22uF 16V Radial Tantalum Capacitor ) I will add the values though.
View attachment 132704
22uf is quite a large value for a non-polar capacitor. Best to verify by looking closely at the body of the cap. There will be a small + sign near the positive pin. Sometimes the + sign is hard to see. Sometimes its just a dot.