you can indeed record the keyboard either way, but using midi, especially for modern versions of music, that unless you have a super awesome keyboard, midi is defff the way to go, as through midi you can use the keyboard as a universal key controller for the endless amounts of synth software that far surpass basic keyboards. midi synth programs like massive come with a rediculously large library of preset sounds that can each be controlled by hundreds of variables in more ways that I could ever sit here and try to describe to you. Using midi programs will bypass the actual sound coming from the keyboard, and instead the sound can be controlled by the synth program which in my experience(mind you Ive never owned any keyboard more fancy than something you can get from radioshack) has higher quality sounds that as I previously mentioned can be controlled in any way you can think of. midi is universal, meaning any you can run ANY midi based program using the keyboard as a controller. to do that, plug in your keyboard to the computer, open your daw and go to the options(this explanation will be very general as it is with most programs and Im not familiar with anvil) and find the midi devices section and make sure the program is recognizing your keyboard. then open the synth program(might have to youtube this) in the daw as a plugin. Then some where in the synth program, or in your actual daw, there will be an option to use the keyboard to trigger the sounds. Again its generally the same for most daws. If you cant figure it out, youtube never fails. These synth programs can even be used with a regular computer keyboard in certain programs, like fruityloops.