“I need to record my song or even a simple melody with my Yamaha keyboard in Dorico through MIDI: when I play the keys on the keyboard, there is always a delay in the playback; how do you adjust the latency, what number should be entered? Even changing the number, including negative values, the sound result is the same; there is no synchronization with the keyboard, how do you adjust the latency? Thank you, I look forward to your always pertinent responses, thanks.”
Please, this is an English language forum. As a courtesy to users could you translate your question (use DeepL or Google Translate and paste the result).
This thread might help you…