DLMREC(1) 149
NAME
dlmrec – record data from multiple DAT-Links.
SYNOPSIS
dlmrec [–N numUnits ][–c numChannels ][–u unitSpec ][–p precision ][–i source ][–n nsamples ]
D
[ –I][–f format ] file
ESCRIPTION
dlmrec records digital audio data from multiple DAT-Link devices. Although multiple invocations of
t
a
netaudiod(8) and narecord(1) can achieve the same effect, dlmrec is optimized for data throughpu
nd also sets up the DAT-Links for correct synchronization.
l
c
If the DAT-Link+ is used, then the Sync connectors of each DAT-Link+ should be wired to an externa
lock generator (Part EXTCLK). This allows the units to be synchronized such that each DAT-Link+
n
t
will start recording at the same time. If the incoming digital audio streams are also synchronized, the
he data retrieved by dlmrec will remain exactly synchronized for the entire recording. Otherwise, it
T
can only be guaranteed that the data from each DAT-Link starts at the same time, +/- one sample.
he output is stored in a packed format with the data from each DAT-Link interleaved. The output
w
begins with the left channel data from datlink0 and ends with the right channel data from datlinknn
here nn is the number of DAT-Links.
By default the output file will consist of a 512 byte header followed by the data from each DAT-Link
-
n
interleaved on a block-by-block basis. The header contains the size of the blocks, the number of chan
els, and a magic number for identification.
OPTIONS
–N numUnits
Specify the number of units to record from. DAT-Link devices 0 through numUnits-1 are
n
used. If none of the -N, -u, or -c options are specified then 4 units are used. The maximum
umber of units that can be supported depend on the host speed and the SCSI I/O bandwidth.
.
T
Typically 4 units is the limit, giving 8 channel record capability at 48,000 samples/second
he default is 4 units.
–c numChannels
Specify the number of channels of recording desired. DAT-Link devices 0 through numChan-
nels/2 (rounded up) are used.
c–u unitSpe
Specify the DAT-Link units to use for each channel of recording. The unitSpec argument is a
.
T
comma-separated list of DAT-Link unit numbers followed by one of the letters: L, R, or S
hese signify left, right or stereo respectively. The order of the list determines the mapping of
t
channels to DAT-Link units. For devices used in stereo mode, the left channel always precedes
he right channel. For example, the string, "0L,3S,2R", would create the following channel
map.
Channel 0 - left input of unit 0
3
C
Channel 1 - left input of unit
hannel 2 - right input of unit 3
2
–p precision
Channel 3 - right input of unit
Specify the number of bits/sample to be transferred from the DAT-Link. The default is 16
bits/sample. The precision must be a multiple of 4.
s–n numsample
Transfer numsamples samples to file and then stop. Normally, transfers continue until the user
s
interrupts dlmrec. Note that recording is done in multiples of an internal buffer size, thus
lightly more than numsamples may be recorded.
D
–i input_source
AT-Link Reference Last change: 1995/07/29 1