It doesn't look at the "sound" going through the wire, just the voltage. It turns that into midi. Probably, it turns the 0 to 5 volts that comes from the pedal (quick guess) into a value ranging from 0 to 127 (midi). The software behind it uses that for something else, like filter cutoff, wah, volume etc.