EasyManua.ls Logo

Townshend Computer Tools DAT-Link - Narecord

Default Icon
208 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
158 NARECORD(1)
NAME
narecord record from a DAT machine to an audio file
SYNOPSIS
narecord [–a ][–c control_file ][–C ][–e encoding ][–f format ][–i input_source ][–n samples ]
D
[ –o channels ][–p precision ][–q][–s file_sampling_rate ][–t seconds ][–u host:unit ][ file ]
ESCRIPTION
narecord transfers digital audio input to file via a DAT-Link interface using the NetAudio server. See
d
netaudiod(8) for details on the NetAudio server. narecord can be used to record a live input onto
isk, or to transfer audio data from tape to file. To record, an analog-to-digital converter or digital audio
A
tape (DAT) machine must be connected to one of the DAT-Link’s digital input ports.
DAT machine can be used either to transfer audio data from tape to file, or to record a live input to
t
s
file. To record live analog inputs, the DAT machine must be put in paused-record mode with its inpu
ource set to analog. This allows the machine to convert it’s analog inputs to a digital output stream
e
m
which is passed through the DAT-Link interface to the host computer. On some machines a blank tap
ust be inserted before paused-record is permitted. To transfer from a DAT tape to file, the DAT
o
b
machine just needs to be put into normal play mode before running narecord. The –a option can als
e used to set the appropriate DAT machine modes via remote control if the machine is so equipped
I
(see rctrain(1)).
fnofile is given on the command line, output is sent to the standard output. Unless the –t or –n
OPTIONS
option is used, recording will continue until narecord is interrupted by the user.
–a narecord will use the DAT-Link’s infrared remote control to start the DAT machine playing
e
w
before beginning transfer of data to file. After the file has been transferred, the DAT machin
ill be stopped. A few seconds of silence will be recorded into the beginning of file, unless
the –q option is also given. Note that the environment variable must be set to the
DL_RC
C
c
name of the remote control description for the DAT machine. Available choices for
DL_R
an be listed using the rc(1) command. If a description has not already been installed for the
DAT machine in use, it can be created using rctrain(1).
c This option allows the user to capture the channel status and user bits of the digital audio out-
b
puts in the given file. This file can be edited using any text editor. Each line of the file is a
inary representation of single byte of data, least significant bit first, and must contain 8 ones
t
c
or zeroes with no other characters. The first 24 lines are the channel status bytes for the lef
hannel outputs. The next 24 are the right channel status bytes. The final 48 bytes specify the
-
t
user bytes, which are spread across both the left and right channels. For details of the interpre
ation of these bits refer to the appropriate digital audio standards.
-–C In this mode, the channel status and user bits are stored with the audio data in file. Each sam
ple is stored as a 32 bit number with some bits representing the audio data while others are the
e
control and auxiliary information. Starting from the most-significant bit of the first byte in th
le, the data is stored as: Parity (1bit), Channel Status (1bit), User (1bit), Validity (1bit), Data
s
i
(20 bits), Aux Data (4bits), zeroes (4bits). If recording in stereo, the left and right sample
ncluding all control information, are interleaved.
–e encoding
Specify the encoding of the data to be transferred. All encodings use most-significant-byte first
a
ordering. Note that this controls the encoding used by the DAT-Link -- the data may undergo
dditional conversions depending on the file format chosen. Valid choices for the encoding
L
are:
inear Linearly encoded data with a fixed number of bits per sample. This is the default
I
encoding. The number of bits per sample can be set using the -p option.
EEE IEEE floating-point encoding with 4 bytes/sample.
1NetAudio Reference Last change: 1995/02/08

Table of Contents