EasyManua.ls Logo

Townshend Computer Tools DAT-Link - B.2 Segmentation File Format; B.3 Configuration File (.datlinkrc); B.4 Channel Status & User Bits Files

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...
126 File Formats
B.2 Segmentation File Format
When
narecseg
is used to record and segmentaspeech signal, a segmentation le
is stored in addition to the audio data le. This segmentation le uses a plain-text
format to describ e the b eginning and end sample numb ers of each segment. The
le b egins with a line that gives the pathname of the audio data le. Subsequently,
each line of the le contains twonumbers; the rst and the nal sample numbers of
each segment. An example le with three segments is shown below:
/tmp/audio.dat
3210 4117
9511 10145
14871 20214
B.3 Conguration File (.datlinkrc)
Many of the options available in the
DAT-Link
programs can b e controlled bytwo
conguration les. The rst is a system-wide le,
DATLink.Defaults
, stored in
INSTALLROOT
/etc
All users on a given system receive the same defaults when
they are set in this le. For this reason, only defaults dictated by the system
conguration, such as unit numbers, device names, or directory names should be
given in this le. Options sp ecied in this le, as well as other options, can be
changed in a p er-user le;
.datlinkrc
.
The format of b oth of these les is the same
1
. Each line of the les consists of an
option name, a colon (\:"), and the option value. Any line which b egins with an
exclamation mark is considered a comment. Option names consist of
components
separated by \." or \*". The \*" separator means that there maybeanynumber
of intervening options b etween the ones given.
Examples of option names and their semantics can be found with the description
of each command in App endix G.
B.4 Channel Status & User Bits Files
When the
naplay
or
narecord
programs are used with the
-c
option, an auxiliary
le is read or written containing the
channel status
and
user bits
as describ ed in
the digital audio standards. For details on the meaning of these bits, consult the
appropriate standards as listed in the Bibliography ([EIA87], [AES91], and [IEC89]).
1
The format of these les is identical to that of the
.Xdefaults
le used by the
X Window
System
.

Table of Contents