154 NAPLAY(1)
NAME
naplay – play or transfer an audio file to a DAT machine
SYNOPSIS
naplay [ –a ][–A][–c control_file ][–e encoding ][–f format ][–o channels ][–p precision ][–r
fi
range ][–R repeats ][–s file_sampling_rate ][–S DAT_sampling_rate ][–t seconds ][–u host:unit ][
le... ]
DESCRIPTION
naplay transfers the files given on the command line to a digital audio device via a DAT-Link inter-
-
d
face. It can be used anywhere on a local area network that has a NetAudio server running. See netau
iod(8) for details on the server. naplay can be used to listen to audio file(s), or to record them onto
-
n
tape. To listen to files, a digital-to-analog converter or digital audio tape (DAT) machine must be con
ected to one of the DAT-Link’s digital ports.
Digital output is identically generated on all three of the DAT-Link’s output ports. However, if the
s
c
AES/EBU output is used, it is recommended that the –A option be given on the command line. Thi
auses channel status information consistent with the professional standard to be generated. Otherwise
I
consumer channel status is generated.
f a DAT machine is used, it must be put in paused-record mode to use it for listening. On some
p
machines a blank tape must be inserted before paused-record is permitted. Recording can be made by
lacing the DAT machine in normal record mode before running naplay. The –a option can also be
e
r
used to set the appropriate DAT machine modes via remote control if the machine is so equipped (se
ctrain(1)).
If no file is given on the command line, input is taken from the standard input. If multiple files are
e
v
used which contain contradictory information about sampling rate or number of channels, then th
alues from the first file are used unless they are overridden on the command line.
OPTIONS
–a naplay will use the DAT-Link’s infrared remote control to start the DAT machine recording
e
s
before beginning playback of file. After the file has been transferred, the DAT machine will b
topped. A few seconds of silence will be recorded before and after the file. Note that the
e
D environment variable must be set to the name of the remote control description for thL_RC
DL_RC
DAT machine. Available choices for can be listed using the rc(1) command. If a
r
description has not already been installed for the DAT machine in use, it can be created using
ctrain(1).
–A Normally, naplay generates channel status bits using the consumer (also known as S/P DIF, or
-
f
IEC) standard. By giving the –A option, the channel status will agree with the AES/EBU pro
essional standard which uses 3 pin, XLR connections. The consumer standard is normally
e
t
carried on the IEC Type II (RCA connectors) and the fiber-optic interconnects, in which cas
he –A option should not be used.
–c file This option allows the user to specify the channel status and user bits of the digital audio out-
b
puts in a 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 remaining bytes specify
r
b
the user bytes, which are spread across both the left and right channels. Any number of use
ytes may be given. These user bytes will be transmitted for each output frame (192 samples)
a
as will the channel status bytes. For details of the interpretation of these bits refer to the
ppropriate digital audio standards.
–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
1NetAudio Reference Last change: 1995/02/08