Cubase modulation problem

Recently I have a big problem with my Cubase 11,
All my project switched one tone up( for exemple when I play a C on my midi keyboard Cubase play a D), it happened after I was composing and my project was very buggy( with a lots of bug and glitches/lags).
Thank you for your responses and sorry for my English, I’m french

Do you have a Global Transpose set? Check the toolbar across the top…
Or search the manual for “Global Transpose.”

Thanks but I fix it, it was a problem with my sample rate