Does this tool preserve pitch when it changes speed?
No. This tool changes speed by resampling the audio (adjusting the AudioBufferSourceNode's playbackRate) - the same principle as playing a tape or record faster or slower. Pitch rises when you speed up and falls when you slow down; there's no WSOLA, phase vocoder, or other pitch-preserving time-stretching algorithm involved.