S B 1 6 S o u n d
Written by Ethan Brodsky
Copyright 1995 by Ethan Brodsky. All rights reserved.
This library is distributed AS IS. The author specifically
disclaims responsibility for any loss of profit or any
consequential, incidental, or other damages. This code is
freeware and is distributed with full source code, which is
copyright by Ethan Brodsky. You are free to incorporate the
code in full or part into your own programs as long as credit
is given to Ethan Brodsky. The source code may be distributed
in its original form only, including this documentation file.
I write this code a while ago and am making it available now so
people can get it without contacting me. This code records and
plays 16-bit sound on a Sound Blaster 16 using auto-initialized
DMA. I used XMS to buffer the data to avoid re-entrancy problems
with disk writes inside of an interrupt handler. Both Turbo
Pascal real mode and Borland C real mode source code is included.
Sound data is stored in files containing raw 16-bit signed
samples suitable for processing or analysis. Sampling rate and
other data are not included.
Ethan Brodsky (2/18/95)
|