PC Sound Card driver for HPV 5.0

This is a device interface for an standard sound card found on most pc's.  Depending on the 
chip manufacture this will give you access to 2 channel, data acquisition at 16 bits per channel 
up to 48kHz.  It has been tested on soundpro, creative labs and yamaha chip sets.

A note of caution, though, the input channels on most sound cards are not d.c coupled.  
The called function 'scd' calls in turn the mmsystem.dll and so by necessity has to comply 
with a windows api call.  The library file (sound_card_driver.dll) was compiled under Microsoft 
Visual C++ 5.0.  If recompiling make sure you have winmm.lib in link objects.  The function fills
the predefined 32 bit integer array with the raw signed integer adc values.  In stereo mode the 
channel values are alternate words. This version has collects mono data.

Version 5.0 project workspace and .c file (scd2.c) are included

Not all sample rates work - it depends on the hardware available.  The header file for HPVEE,
sound_card_driver2.h just declares the external function as described in the manual49
example bundled with hpv.  An example of using this driver is given in sound_card_exp.vee.

Software is in the public domain please feel free to distribute it unchanged.  I would 
very much appreciate feedback on use and code modifications.

This as only being tested with Win95 although sound card dll's exist in NT and hpvee runs
under NT

Paul Record July 1999

p.record@smru.st-andrews.ac.uk

File list:
SCD2.C  ----- C source 
sound_card_driver.opt  --
sound_card_driver.dsp  --  Visual C++ 5.0 project files
sound_card_driver.dsw  --
sound_card_driver.ncb  --
sound_card_driver.plg  --
sound_card_driver.dll  --  Vee sound card inteface library file 
sound_card_driver2.h   --  Vee header
sound_card_exp.vee     --  Vee example programme.

read_me.txt