Hi,
This question has been asked and answered several times... if you need more detail you can search previous answers.
Basically you are experiencing latency - a common occurance with USB interfaces. To resolve this go to the playback parameters of Music Studio (Press 'P' on your keyboard) and choose an ASIO driver for your Yamaha. If there is not one present download a FREE universal ASIO from www.asio4all.com