I want to switch on/off the shown parts of a circuit using a transistor, which will  controlled by an Arduino, please see the picture below - the yellow marked ones. The circuit is build around a XR2206, which is a function generator IC.

The left side controls the range the function generator is working in, by adding different capacitors between pins 5 and 6 of the XR2206. 

The right side just switches between triangle or sine wave generation, by adding some resistance between pins 13 and 14 of the IC.

[![schematic diagram][1]][1]

Now, I can easily switch circuits which are connected to ground using NPN, but I fail to come up with a solution for this problem.

I am ready to accept any laughter. If I am using wrong terms etc, please give me a pointer to the right one. In the old times I would have used relays to achieve this, but I get this is too much old style and overkill for this issue here.



  [1]: https://i.sstatic.net/MvQY4.png