Index of /knowledgemedia/MIDI/UNIX/CMIX/MTUDRIVR
Name Last modified Size Description
Parent Directory 11-Jun-2003 14:50 -
AI.C 11-Jun-2003 14:49 54k
AI.H 11-Jun-2003 14:49 1k
AIREG.H 11-Jun-2003 14:49 4k
AIVAR.H 11-Jun-2003 14:49 2k
CAVEATS 11-Jun-2003 14:49 4k
GETMAXMP.C 11-Jun-2003 14:49 3k
INSTALL 11-Jun-2003 14:49 4k
MAKEDEV.AI 11-Jun-2003 14:49 1k
MAKEFILE 11-Jun-2003 14:49 1k
MAN 11-Jun-2003 14:49 1k
MONITOR.C 11-Jun-2003 14:49 4k
PLAY.C 11-Jun-2003 14:49 7k
PRINTSF.C 11-Jun-2003 14:49 1k
RECORD.C 11-Jun-2003 14:49 6k
RENAME.BAT 11-Jun-2003 14:49 1k
RESTDS16.C 11-Jun-2003 14:49 1k
SFCODES.C 11-Jun-2003 14:49 2k
SFCREATE.C 11-Jun-2003 14:49 3k
SFHEADER.H 11-Jun-2003 14:49 3k
SFHEDIT.C 11-Jun-2003 14:49 4k
SFPRINT.C 11-Jun-2003 14:49 1k
SNDPEAK.C 11-Jun-2003 14:49 2k
To whoever is installing this:
All is here, the manual pages for the various aspects of the
driver are in the "man" directory. All the files here should
replace the files you currently have. The documentation
in the "man" directory can be installed in your /usr/man dir
if you want -- I have also included a script "makeman" which
will simply format all the pages and put them into files
(i.e. after running "makeman", the info on the "play"
command will be in the file "play.docu").
There is also a makefile for creating all of the user-level
commands for the driver -- simply say "make all" and
they will MAGICALLY appear. "make clean" will get rid of
the .o files that make produces.
The commands of interest are:
play -- does dtoa conversion of a file; assumes
that the file has a soundfile header (if
yours doesn't, you can use the "-n" option
to convert them)
monitor -- does atod without writing to disk, periodically
reports the peak value found. Used for setting
levels.
record -- does atod into a file. The file MUST be
blocked out already on disk -- use the "-d"
option of "sfcreate" or write a simple program
to write 0's for the length you wish to record.
resetds16 -- under exceptional circumstances, the ds16 might
get "hung". Symptom is the error message "can't
open device". The "resetds16" program may free
it up (NOTE: you must be super-user to run this
program).
sfcreate -- creates a soundfile with a soundfile
header.
sfhedit -- edits the entries in a soundfile header.
sfprint -- prints the contents of a soundfile header.
sndpeak -- scans soundfile for maximum amplitude and
stores the value in the header.
The "install" document tells how to build a new kernel with the
driver in it. NOTE: If you are running Sun OS 3.0 or 3.1 you
will need to make a minor change in the way the buffer for DMA
transfer is allocated -- call me and I can tell you what you
need to do. You should also take a look at the "caveats" file,
there are a few things that may show up on your system.
There will be one more (anticipated) software upgrade to this
driver to do to/from memory conversion (using unix read or write
system calls).
Call me if there are problems -- I don't anticipate any, but..
you never know!
Brad Garton.
(212)280-3825
(609)448-9214 <home>
...!columbia!woof!brad -or-
brad@woof.columbia.edu