     MidiCon
  ------------
  v 0.02 15/9/2025

MidiCon is a program that converts Midi files to either Wav-pcm
or MP3 audio files.

Load a Midi file by dropping it on the Iconbar icon or on the
Conversion window. The filename is displayed at the top of the
window with file information beneath. Then drag the Wav or MP3
icons to a filer window to start conversion. Any text or lyrics
contained in the file can also be saved.

Once a Midi file is loaded it stays loaded until another is
loaded and can be converted to Wav and MP3 without having to
reload it. Text can be saved at any time after a file is
loaded but Wave or MP3 files can only be saved if a conversion
is not in progress. Conversion can be stopped by clicking the
Stop button. The resulting file will be incomplete,  but valid
and will play correctly.

There are menu options to select the sample rate, MP3 bitrate,
player tempo, and whether a mono or stereo file is produced.
The current options are displayed below the file information.
Options cannot be changed whilst saving.

The Synth options and Sound Set are read on startup from the
Midi Support MidiSynth Choices directory. These options can be
changed using the !MidiSyn application that comes with Midi
Support.

If Midi Support is not used, or the MidiSynth.Choices file
cannot be found, defaults will be used for the synth options
and Sound Set. The following defaults are used.

  Sample rate 44100
  Polyphony 32
  Volume 0dB (max)
  MP3 bitrate 128k
  Player Tempo 100%
  Stereo files

Synth options that are read from the MidiSynth.Choices file are,

  Polyphony
  Glide scaler
  Bank override
  Drum kit override
  Master Volume
  Master Balance
  Master coarse tuning
  Master fine tuning
   on/off switches:
     Left/Right channel swap
     Allow all banks
     Allow all drum kits 

It has only been tested on a Pi4B where conversion is faster
when saving files to RamDisc. It's also sometimes faster to save
MP3 files as they are a lot smaller than Wav files.
Mono Wav files are half the size of stereo.
Mono MP3 files only require half the bitrate of stereo for the
same quality, and are then also half the size.
