However, music performance (such as piano) is not a complicated action to be completed by some kind of memory. The thought of the brain is the key to produce beautiful and moving strength and speed to deal with the sense of music. The landlord is also right to think of the next note in advance, which is called "thinking ahead". When playing, a small part of attention should be allocated to preparing the following content in advance. It's like a person walking in a place with poor light, but he is very familiar with the route and terrain of this place, so he will not be affected by the darkness and will soon finish the journey.
Therefore, playing is mainly driven by the brain, and at the same time, the muscle memory of the hand will enable the player's fingers to accurately play difficult skills on the piano. Moreover, a small part of attention should be divided to anticipate the part to be played later, so as to be fully prepared psychologically, so as to have a wonderful performance! I hope my answer will help you solve your question.