MIDI Mod: Executable or Text Version
MIDI stands for Musical Instrument Digital Interface. Your PC has the facility to play MIDI files ( .mid file extension ) via the Sound Card. The Sound Card has 128 built in MIDI Musical Instrument sounds (although the last 8 are sound effects, and I discard use of these in my program.)
You can get MIDI files from the Internet. For example, at the Classical Piano MIDI Page
To use these files with my program you should download and save the .mid file to a suitable folder on your PC. You can take one the Classical Piano MIDI files from the aforementioned sites and change the instruments to Banjo, Bagpipes and Steel Drums - as you wish! Here is Scott Joplins Maple Leaf Rag. Right-click on it and use "Save Target As", or if you want it to play as is, just left-click on it.
MIDI Demo: Executable or Text Version
You can choose an instrument out of the 120 made available to play some decent-sounding computer-generated MIDI Music. It's actually based on the extended-triad chords of the key of C Major. That is: CMaj7, Dm7, Em7, FMaj7, G7, Am7, Bdim7, played in a random order. Alternative C# demo: Executable. You also need to download the MIDI library: DLL Library. Here also is a listing of my basic C# MIDI library: MIDI_Lib which illustrates use of P/Invoke to import a Windows DLL in Visual C#.