It gets even weirder than that with the wah pedal. Someone figured out by happy accident that when a stratocaster guitar is plugged straight into a wah pedal backwards, it produces a oscillating sound that can be controlled with the tone knob on the guitar. Combine that with echo and reverb and you get the "seagull effect" in the middle section of Pink Floyd's Echoes.
Now of course you can buy a backwards wah pedal specifically meant for doing this.