Strange "Out of Tune" during performance

I don’t know anything about your environment but if the pitch is off by about 1 semitone then most likely something on your system is running or trying to run at a different sample rate (maybe you are running two hosts?) as that can be one possibility