172 TEACOUT(1)
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
p
data. This information is stored in the two least significant bits of each 16-bit data word. The teacout
rogram takes a raw data file consisting of interleaved 16-bit samples and modifies the two least-
-
p
significant bits, converting it into a form that can be recorded onto the TEAC deck. Note that the out
ut from this process omits the two least significant bits of the data.
t
s
The data stream is read from file, or, if file is not given, from the standard input. By default, the outpu
tream is written to stdout, but this can be overridden with the -o option.
-
q
For example, a typical use of this program would be to record data on a TEAC tape which can subse
uently be played back using only the deck. The pipeline:
w
teacout -n 8 -r 24000 file | naplay
ill take file, which contains 8 interleaved channels of 16-bit values, sampled at 24,000 samples per
t
second, and store it on tape with the correct TEAC format. The real-time information stored on the
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
c
is stored as found on the tape, as a serial delta-modulated signal. If not given a silent memo
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)
.
NOTES
DAT-Link User’s Manual
To correctly synchronize with the TEAC, teacout adds 2 bytes of zeroes at the beginning of its output.
g
It also pads its total output length to 2 plus a multiple of 2880 bytes. Thus, concatenating multiple files
enerated by teacout will NOT be valid input for the TEAC. Similarly, the -R option to naplay will
N
not work correctly. Data files should be concatenated before being passed to teacout.
etAudio Reference Last change: 1995/09/12 1