
      *********** SELECTING MIDI DEVICE ***********

 In v220-13 it is now possible to set the midi device from within Control
 Panel/Audio. (Hit F4 when in game). The following is only applicable if
 playing a midi file.
 
 For example, with my Xi-Fi, card the following options are shown;
 
  "Microsoft GS Wavetable Synth"
  "SB X-Fi Synth A [EC00]"
  "SB X-Fi Synth B [EC00]"

 If an external midi port is available then the following will be shown;

  "USB Audio Device"
  "SB X-Fi Synth A [EC00]"
  "SB X-Fi Synth B [EC00]"
  "Microsoft GS Wavetable SW Synth"

 Note that the USB port driver has taken the first slot relegating what was
 the first option to the end of the list. This, however, is not alwyas the
 case and devices can appear in different orders with different systems
 and soundcards.

 If the device "Creative SoundFont Synthesizer" appears in the list then
 midi files will not play with this at all. If trying to use this then you
 will see (assuming a midi file is to be played) BAD FIlE or MIDI DEVICE
 displayed in Risen3D's Control Panel SOUND (hit F4 to get this up).

 Since it is normally better to use the Microsoft GS Wavetable SW synth
 it is recommended that this is set as the midi device.

 The default device will be the first shown in the list. This can be changed
 by clicking on the device required and then clicking the CHANGE button which
 appears if the selected device differs from the one currently in use.
 
 The volume control will only work if the "Microsoft GS Wavetable SW Synth"
 is selected. For all other cases the level has to be adjusted externally.

 ----------------------------------------------------------------------------

 In all cases other than using an external midi port it is always best to use
 the synth where the volume can be changed from within Risen3D as the other
 synths will have voicing unsuitable for the type of midi files used.
 
 ----------------------------------------------------------------------------

 Should for some obscure reason one of the other synths be selected then the
 volume must be adjusted externally. To aid in this then if ALT-TAB'ing when
 the Control Panel is active the music will continue to play. If not in Control
 Panel it will be paused.
 
 In XP there is normally a mixer with a mid-synth slider so this would be used.

 In Vista/Win7 then only the standard volume control is available so this has
 to be used to set the volume requiring the others in the Control Panel
 (FMOD/SFX) to be adjusted to suit. This is hardly ideal but this is what it
 boild down to.
 
 NOTE: The volume slider for the active device (either midi or FMOD) is now
 the only one drawn.
 
 In Vista/Win7 at least the midi caps support does not have volume available
 set so I can reflect that the volume cannot be adjusted by suppressing the
 drawing of the midi volume slider in Control Panel. In XP there is a fault
 which means that these flags are set when they should not be. As such I am
 forced to draw the slider even though it has no effect.
 
 For those with active midi ports connected to an external midi instrument
 then there is no issue since the instrument will have its own volume control.

 GSRESET -----------------------
  
 GSReset is only needed when using an external Roland synth so it now only
 displays if an external midi port has been selected. Since it's a system
 exclusive command then using it with a non-Roland device has no effect
 (other than meaning the song is restarted). A delay of 1 second is applied
 to allow the midi instrument to initiate a reset.
 
 Why is it needed I hear you ask? Occasionally someone will insert a midi
 file that has SysEx events to change voices/instruments that are ignored
 by an internal midi synth. Since they reckon it sounds OK (and they've
 probably trawled it off the internet and don't even know that it has these
 events) the file gets left as is. Should someone play this file with an
 external Roland synth then when going on to the next midi file the voicing
 could be wrong. To correct this the synth has to be reset.

 gmj Feb 2012