Ostensibly it's very simple - you need to switch the tip and ring connections of a stereo jack plug between two sources.
The practicality is somewhat less simple. Here's why:
Most pedals with exp. pedal inputs have a switch built into the exp. pedal jack socket that disconnects a pot and connects the exp. pedal in it's place. For so long as there is a plug in that socket, the internal pot will NEVER be connected.
So, simply switching an exp. pedal connection may not be enough. If you want the pedal to return to normal operation, you need to either remove the exp. pedal jack plug from it's socket, or you will need to modify the pedal somehow.
Oh, and in the above scheme, there should be no need to switch the ground connections at all - they all should be common to each other. Just switch the tip and the ring of the jack plugs/sockets.
The practicality is somewhat less simple. Here's why:
Most pedals with exp. pedal inputs have a switch built into the exp. pedal jack socket that disconnects a pot and connects the exp. pedal in it's place. For so long as there is a plug in that socket, the internal pot will NEVER be connected.
So, simply switching an exp. pedal connection may not be enough. If you want the pedal to return to normal operation, you need to either remove the exp. pedal jack plug from it's socket, or you will need to modify the pedal somehow.
Oh, and in the above scheme, there should be no need to switch the ground connections at all - they all should be common to each other. Just switch the tip and the ring of the jack plugs/sockets.