You can transfer data back and forth between your keyboard and computer and use your keyboard as a MIDI controller for recording, sequencing or notation purposes. This is an excellent way of connecting any keyboard that comes with MIDI to your PC, Mac or laptop computer.
You have to install a driver (included with your Yamaha UX16 USB MIDI interface) on your computer for everything to work. The UX16 has a MIDI cable that is just over 4 feet long and the USB cable is 2 feet. You simply connect the Yamaha UX16 USB MIDI Interface to your USB port on your computer and plug the MIDI in and out cables into your keyboard. Highly Recommended : Go here for the BEST piano/keyboard course I’ve seen on the Internet. It's a very easy way of connecting any MIDI keyboard (it doesn't have to be a Yamaha keyboard) to your computer. "How do I connect my keyboard to my computer?" One way to connect your Yamaha keyboard or other MIDI instrument to your PC is with a UX16 USB-MIDI interface. Yamaha UX16 USB MIDI Interface - Connect Keyboard to Computer