SNDRECORD(1) — UNIX Programmer’s Manual
NAME
sndrecord − record a soundfile from DSP or microphone
SYNOPSIS
sndrecord [ options ] file
DESCRIPTION
sndrecord records sound from either the 8Khz microphone input on the back of the monitor, or from the DSP. By default, data is taken in from the microphone jack and placed in the named file. Alternatively, the data may be taken from a program running on the DSP. The default DSP program reads 16-bit-wide data in from the DSP serial input. The resulting file may be played back using sndplay(1).
OPTIONS
−d Record from the DSP serial input. The format of the data is saved as 16bit linear stereo.
−f dsp-program
Run the specified program on the DSP recording it’s output into the specified sound file.
−w Print warning messages if an output overflow is detected.
−s size
Record at most size bytes into the output file.
−c comment
Place comment into the comment field of the output file.
−C comment-file
Place the contents of comment-file into the output file.
−h high−water-mark
Set the high water mark used by the the operating system in wiring down memory to record into. The operating system will try to wire down enough physical pages to reach the high water mark.
−l low-water-mark
Set the low water mark used by the operating system. The operating system ensures that at least this many bytes are wired down to record into.
−D dma-size
Set the size of the buffers used by the operating system for a unit of recording. This size must be a power of two less than or equal to the physical page size of the machine.
−v Print out state useful for determining the internal behavior of sndrecord. Of marginal use.
SEE ALSO
sndplay(1), sndconvert(1), sndinfo(1)
NeXT, Inc. — February 6, 1989