Added DC input using Arduino at the moment and others.

Lots of changes here for version 0.22.10...

A semi-automatic Arduino detection command:- ARDDET<CR>
This requires a small amount of user input.
The ARDDET<CR> section also creates a .PDE file to program the Arduino
for a single ADC only <- read the code for more info...
To see Arduino working after programming it just temporarily wire a 10K
pot' between +5V and Gnd with the wiper connected to ANALOG 0.

An 8 second pure sinewave wave file now created for multi-platform use.
It IS now on my 'phone as a signal source using the default 'phone
player in loop mode - nice'n'easy... ;o)

Another command:- BURST<CR> plays the above wave file using "afplay"
for OSX or "aplay" for Linux.

DC now allows REAL DC into the scope IF Arduino is detected.
IF NOT then it defaults to a DEMO mode and samples /dev/urandom.
It displays itself inside the YELLOW section of the COMMAND window for
a short period.

Another command:- ALTDC<CR> is a placeholder for a sound card DC input
under development.

Other minor changes too...
AudioScope.sh now works on CygWin...

CygWin is SSLLOOWW but that has not deterred me from attempting to
include it.
The FREQ command works but is totally unusable do to said speed.
The BURST command only works in DSP mode, not DEMO.
SOX has not been included although I might attempt it.

Only tested on an old dual core HP laptop, and a quad core Philips
desktop both
running Windows Vista, and a fairly recent version of CygWin.

You will have to set up test and mic inputs yourselves but DEMO mode
still works
as normal...

Comments welcome, and tests on other Windows versions would be of great
help.

It is uploaded in CygWin guise and is marginally slower on real UNIX
like machines
however ALL of the original code is commented out and NOT deleted. All
you need
to do is search for CYGWIN and comment out the relevant line(s)
below it and uncomment the single line above it. This changes the hex
dumper from
"od" back to the original "hexdump" again...

Also another simple circuit at the end for the DC control pulse under
construction.

Other changes too...

Enjoy finding simple solutions to often very difficult problems...