Ears-104
Commercial in Confidence
Copyright © 2021, all rights reserved by Exacom, Inc.
16
Wave f ile names may be user-def ined using any number of f ormat codes that are def ined below. In a
f ormat string, any text that is not a f ormat code appears in the f ile name verbatim.
DO NOT SET
FILENAMEFORMAT = “”
. The system will appear to be working but never generate rec ordings, because
you told it not to write them.
Code Meaning
Code Meaning
Y
Four-digit year
h
Two-digit hour
M
Two-digit month number
m
Two-digit minute
D
Two-digit day number
s
Two-digit second
C
One-digit channel number
d
DateTime (%Y%M%D-%h%m%s)
S
Ears Source Id f or the channel
i
Unit IP address
L
Ears Location (f rom Global conf ig)
f
Data f ormat (e.g. PCM)
N
Ears Name (f rom Global conf ig)
.ext
File extension f or audio f iles (should be
.cap)
P
Capture path (f rom Global conf ig)
Note:
FileNameFormat makes no assumptions about what the f ile should be, or where they should be
put. When updating the entry, one
should
:
Start with “%P/” to put the recordings at the system defined capture path.
End with “.cap”. The system expects completed but otherwise unprocessed capture files to end with .cap.
Ensure the generated name is unique.
All other aspects of FileNameFormat are completely mutable.
If the Media Server is to be used, FileNameFormat mus t contain a uniquely identif ying string f or each
channel. Either include the %C channel number substitution parameter or some other per-channel
FileNameFormat that may be used to identif y all recordings f or one channel. This unique identif ying
inf ormation must be put into the Media Server directory map. The def ault FileNameFormat and the
def ault Media Server directory map will work correctly without modif ication. This paragraph only applies
to custom file names; so long as “Line%C” appears in the custom file name, the default Media Server
setting will continue to work properly.
Stream Sinks have the following settings available for configuration:
Header -
Is the unique name of an EarsStreamHeader entry def ined within the header section this
conf iguration f ile. This should be wrapped in quotations.
Server -
Is the unique name of a server entry def ined within the streaming section of this conf iguration f ile.
Sink = {
Chan1File = {
// Label used to identify this File
Type = "Wave";
// WaveSink writes data to a .WAV file
Header = "Chan1File";
// Header for this file (no default)
DataFormat =
“PCM”;
// Only PCM support at this time
};
Chan1Stream = {
// Label used to ID this Stream
Type = "Stream";
// StreamSink writes data to a server
Header = "Chan1Stream";
// Header for this stream (no default)
Server = "TestRack";
// Server connection (no default)
};
};
Triggers
-
Any number of triggers can be def ined in this section and used interchangeably with a