#include <std_disclaimer.h>

"I do not accept responsibility for any effects, adverse
or otherwise, that this code may have on you, your computer,
your sanity, your dog, and anything else that you can think
of. Use it at your own risk." 



MIDI Synth, a simple MIDI synthesizer by mystiscool, v0.5
You are free to do anything you want with this program,
although I would appreciate it if you gave me credit for
writing it. :)

There is no proper documentation yet, so I'll attempt to
explain everything here.

At the upper left of the screen is a set of option buttons.
Instr 1 and instr 2 simply allow you to play using instrument
1 or 2, repspectively.  Split allows you to play with both
instruments at the same time, with each instrument being on
a different part of the keyboard.  Split inverted is the same
thing, except that the instruments are switched; instrument
1 being on the higher notes, and 2 being on the lower notes,
instead of the other way around.  To change the note where
the keyboard is split, drag the split key slider.  Fade is
almost the same as split, but it lets you define a range of
keys in which the first instrument fades into the second one.
The upper and lower fade point sliders control the range.
Inverted fade just switches the two instruments.

There are two instrument control panels.  Each control panel
has 20 sliders for the oscilators, 10 for wave type, 10 for
vibrato, and and six for the attack/decay/release stuff,
plus a load and save button.  Load and save let you store
instruments in SSI (Software Synthesizer Instrument) files.
The 20 oscilator sliders are volume 1, pitch 1, volume 2,
pitch 2, volume 3, etc.  Volume controls the volume of each
oscilator, and pitch controls the pitch relative to the note
being played on the keyboard.  The center of the pitch slider
is the same note as the one played on the keyboard.  12 up and
12 down are octaves on the pitch slider.  Because it's hard to
control the pitch slider with the mouse, I reccomend using the
up and down buttons on the computer keyboard.  The wave type
sliders have four positions: sine wave, square wave, sawtooth
wave, and fuzz.  These allow you to control the wave type of
the oscilators.  The vibrato slider adjusts how much each
oscilator is affected by vibrato.  As of now, you can't
adjust the vibrato speed.  The attack/decay/release sliders
are as follows: attack length, attack volume, decay length,
decay volume, release length, and fade length.  If you set
the fade length to 0, then the instrument never fades out.
All of the volumes are 1 in the middle, so you can have a
plucking sound by setting the attack volume up high and the
decay volume down lower.

Thanks for trying my synth program.  Comments and suggestions
are VERY welcome!  E-mail me at floydspacerock@yahoo.com.
(Pink Floyd is classified as Space Rock.)

Version 1.0 is going to have a nice user interface (MASkinG),
HTML documentation, plus some more controls (maybe portamento).