WAVDest Filter Specification
The WAVDest (WAVE Destination) filter is used in an output graph, immediately before a FileWriter or DPE Writer filter. It formats the output stream as a WAVE/BWF file.
JSON Structure
{
"name": "WAVDest",
"title": "...",
"originator": "...",
"originatorRef": {
"countryCode": "xx",
"organizationCode": "xxx",
"serialNumber": "..."
},
"writeRF64": true/false,
"writeLevlChunk": true/false,
"writeAuxFile": true/false,
"channelConfiguration": "...",
"overlapOnSwitch": ...
"createMpeg": {
"bitRate": "...",
"jointStereo": "..."
}
}
|
Field |
Description |
|---|---|
|
title |
This string is written to the Description field of the BWF file's metadata. The field is optional, default is an empty string. The usage of placeholders is supported for this field (e.g. Note: If the title is empty, no BWF metadata header (i.e., a “bext” chunk in the WAV file) will be created, and the fields “originator” and “originatorRef” are ignored! |
|
originator |
This string is written to the Originator field of the BWF file’s metadata. The field is optional, default value is |
|
originatorRef |
This optional object can defined to set the non-automatic parts of the OriginatorReference field of the BWF file’s metadata.
|
|
writeRF64 |
Either |
|
writeLevlChunk |
Either See “LvlChunk and Aux files” section below. |
|
writeAuxFile |
Either See “LvlChunk and Aux files” section below. |
|
channelConfiguration |
This field is optional. If present, the WAVE file header will be formatted as a "WAVE Extended" header with a "channel mask" field indicating the file's channel configuration. Supported values are: If the number of audio channels in the graph doesn't match the number of channels needed for the given configuration (e.g. 8 channels for |
|
overlapOnSwitch |
A time in milliseconds, which specifies an "overlap" in the audio between two adjacent database entries in case of output switches. The field is optional, default is 0 (i.e. no overlap). |
|
createMpeg |
This object is optional. If it is present, the audio content of the WAVE file will be encoded as MPEG Layer 2.
|
Notes:
-
MPEG encoding is only possible, if the output graph has not more than 2 channels, and its sample rate is valid for MPEG Layer 2 (32000, 44100 or 48000).
LvlChunk and Aux files
The lvlChunk for waveform data is written only after the recording has finished (and only if the parameter writeLevlChunk is not set to false). Opening a multi-hour recording in MTE (BWF[MP2]) while the file is still being created can therefore take a significant amount of time if the waveform data is not there. For this case the writeAuxFile parameter can be set to control creation of an AUX waveform file during recording. This enables MTE to open it without this delay.
After a recording was completed and the lvlChunk was written to the audio file, the AUX file is deleted.
-
Aux files only support 1 or 2 channels recordings.
-
Aux file creation require that the downstream filter is the DPE Writer filter.
-
The aux file creation is only supported when direct file access is used. See DPE Writer Filter Specification directFileAccess.
If this parameter is not set, it will default to the general setting WorkerWriteAuxFile in the ROAD Service’s config file (see Configuration Parameters of ROAD Service).