I don't know about the captain bit, but glitching on sustain can be the nature of this kind of pedal as well. They work on which frequency (basic sine wave) is the most pronounced harmonic in the waveform, and work from that frequency being the note that is being played. As a string sustains...