Class BroadcastExtension
Parsed contents of a Broadcast Wave Format bext chunk.
See https://tech.ebu.ch/docs/tech/tech3285.pdf for the full specification.
public sealed class BroadcastExtension
- Inheritance
-
BroadcastExtension
- Inherited Members
Properties
CodingHistory
Coding history (variable-length ASCII string at the end of the chunk).
public string CodingHistory { get; init; }
Property Value
Description
Description (up to 256 bytes in the file).
public string Description { get; init; }
Property Value
LoudnessRange
Loudness range in LU × 100. Null for version 1 chunks.
public short? LoudnessRange { get; init; }
Property Value
LoudnessValue
Integrated loudness value in LUFS × 100. Null for version 1 chunks.
public short? LoudnessValue { get; init; }
Property Value
MaxMomentaryLoudness
Maximum momentary loudness in LUFS × 100. Null for version 1 chunks.
public short? MaxMomentaryLoudness { get; init; }
Property Value
MaxShortTermLoudness
Maximum short-term loudness in LUFS × 100. Null for version 1 chunks.
public short? MaxShortTermLoudness { get; init; }
Property Value
MaxTruePeakLevel
Maximum true peak level in dBTP × 100. Null for version 1 chunks.
public short? MaxTruePeakLevel { get; init; }
Property Value
OriginationDate
Origination date as stored in the file (10 ASCII characters — typically yyyy-mm-dd).
public string OriginationDate { get; init; }
Property Value
OriginationTime
Origination time as stored in the file (8 ASCII characters — typically hh:mm:ss).
public string OriginationTime { get; init; }
Property Value
Originator
Originator (up to 32 bytes in the file).
public string Originator { get; init; }
Property Value
OriginatorReference
Originator Reference (up to 32 bytes in the file).
public string OriginatorReference { get; init; }
Property Value
TimeReference
Time reference — sample count since midnight, little-endian 64-bit.
public long TimeReference { get; init; }
Property Value
UniqueMaterialIdentifier
SMPTE UMID (up to 64 bytes).
public string UniqueMaterialIdentifier { get; init; }
Property Value
Version
Version of the bext chunk (1 or 2). Version 2 includes the loudness fields.
public ushort Version { get; init; }
Property Value
Methods
FormatOriginationDate(DateTime)
Helper: formats a DateTime into the yyyy-MM-dd form
expected by OriginationDate.
public static string FormatOriginationDate(DateTime date)
Parameters
dateDateTime
Returns
FormatOriginationTime(DateTime)
Helper: formats a DateTime into the HH:mm:ss form
expected by OriginationTime.
public static string FormatOriginationTime(DateTime time)
Parameters
timeDateTime
Returns
ToChunkData()
Serialises this instance into the body of a bext RIFF chunk
(no chunk id / size header). Use with
AddChunk(string, byte[], ChunkPosition).
public byte[] ToChunkData()
Returns
- byte[]