With a USB port MIDI cable, connect the electric piano to the laptop, turn on the MIDI mode of the electric piano, install a sequencer software on the computer, and you can use it. For knowledge in this area, I suggest you search the Computer Music Bookstore on Baidu. There are many resources you need, which will be helpful to you.