172
NAME
teacout – generate a data stream with side information for a TEAC data recorder
SYNOPSIS
teacout [ –o output_file ] [ –s speech_file ] [ –n channels ] [ –r rate ] [ file ]
DESCRIPTION
Data transferred from a TEAC data DAT recorder contains side information in addition to the actual
data. This information is stored in the two least significant bits of each 16-bit data word. The teacout
p
rogram takes a raw data file consisting of interleaved 16-bit samples and modifies the two least-
significant bits, converting it into a form that can be recorded onto the TEAC deck. Note that the out
p
ut from this process omits the two least significant bits of the data.
The data stream is read from file, or, if file is not given, from the standard input. By default, the outpu
s
tream is written to stdout, but this can be overridden with the -o option.
For example, a typical use of this program would be to record data on a TEAC tape which can subse
q
uently be played back using only the deck. The pipeline:
teacout -n 8 -r 24000 file | naplay
w
ill take file, which contains 8 interleaved channels of 16-bit values, sampled at 24,000 samples per
second, and store it on tape with the correct TEAC format. The real-time information stored on the
t
ape will be derived from the host system clock.
OPTIONS
–o file Store the output stream in the given file instead of using stdout.
–s speech_file
The memo channel used for voice annotation on the deck is read from the given file. The data
is stored as found on the tape, as a serial delta-modulated signal. If not given a silent memo
c
hannel will be recorded.
–n channels
Set the number of audio channels to be stored. On the RD135T this can be 2, 4, or 8.
–r rate Set the sampling rate of each audio channel. On the RD135T, this must be 48,000 for 2
channel mode, 24,000 or 48,000 for 4-channels, and 12,000 or 24,000 for 8-channels.
SEE ALSO
naplay(1),teacin(1)
DAT-Link User's Manual
NOTES
To correctly synchronize with the TEAC, teacout adds 2 bytes of zeroes at the beginning of its output.
It also pads its total output length to 2 plus a multiple of 2880 bytes. Thus, concatenating multiple files
g
enerated by teacout will NOT be valid input for the TEAC. Similarly, the -R option to naplay will
not work correctly. Data files should be concatenated before being passed to teacout.
N
etAudio Reference
.
Last change: 1995/09/12
TEACOUT(1)
-
t
-
-
1
Need help?
Do you have a question about the DAT-Link and is the answer not in the manual?