I found the above 'answer stream' to be a bit unhelpful... for getting MIDI files to play on VLC.
I fear no one started with the more fundamental question: "Where do you find a .SF2 file" to have VLC attach. Turns out the answer is almost simple for an XP machine -- the WINDOZE driver archives (CAB) at C:\WINDOWS\Driver Cache\i386\driver.cab\ has the .sf2 file '2gmgsmt.sf2' [XP machine].
It just needs expanded and put where VLC can find it:
[XP machine]
1- Just Paste C:\WINDOWS\Driver Cache\i386\driver.cab\ into the 'Start -->Run' applet pane THEN when the folder opens, find 2gmgsmt.sf2 (view details, sort alphabetically on names, read, right click it, expand to...!)
2- Just Open that (expand) by right clicking it, tell it to save to 'where' [Suggest my solution, '\WIndows\Media' folder] which is conveniently nearby in the folder tree.
3- Then return to the VLC's Tools --> preferences -->(ALL) and navigate by browsing from that
horribly designed 'All' applet's dropdown (No consideration for LARGE FONTS needed by we visually impaired users there, VLC geeks! UGGGH!) Despite my editorializing about insensitive programmers and their supervisors... Expand that drop down pane's width so can be read in extra large fonts!) TO CONNECT THE .SF2.
4-When I did that, my 'error filled' list of MIDIs came alive in the VLC I'd had open and immediately started playing.
[Windows 7 machines]
Afraid I Can't help you with finding a SAFE-TO-DOWNLOAD or WINDOWS 7 *.sf2 file for Windows 7 boxes -- my various quick and dirty WINDOWS 7 searches all failed to locate any, which makes little sense.
Backwards compatible design criteria suggests I missed them somewhere/somehow. (Importing the forgoing XP file cross machines will likely work fine. OTOH,You're on your own on the internet. If you don't pays your nickles, youse definitely taking your chances!
5- Perhaps the VLC officials will suggest a safe and tested *.sf2 here in this thread and bundle it going further in their installs, complete with having it already hooked up and revving its' engines when one installs a newer version!