Connect the MIDI interface to the computer via either USB port and install the drivers. Plug the MIDI cable from the keyboard Out to the MIDI interface In.
Open the digital audio workstation.
Set up the MIDI track. Depending on what kind of DAW you have, this may be represented by identifying and changing a particular icon on the track (as is the case for Cubase) or be automatic (as with FL Studio). Load a VST instrument into the track.
Test the MIDI signal. This is normally seen as a meter being activated on the track or the track being lit up when the note is pressed from the controller when it's operating properly. Press "Record" and "Play" on the track.
Click on the "File" menu then choose "Export As." One of the options will be to save as a MIDI file (.mid). Name the file and save.