[][src]Struct bwavfile::Bext

pub struct Bext {
    pub description: String,
    pub originator: String,
    pub originator_reference: String,
    pub origination_date: String,
    pub origination_time: String,
    pub time_reference: u64,
    pub version: u16,
    pub umid: Option<[u8; 64]>,
    pub loudness_value: Option<f32>,
    pub loudness_range: Option<f32>,
    pub max_true_peak_level: Option<f32>,
    pub max_momentary_loudness: Option<f32>,
    pub max_short_term_loudness: Option<f32>,
    pub coding_history: String,
}

Broadcast-WAV metadata record.

The bext record contains information about the original recording of the Wave file, including a longish (256 ASCII chars) description field, originator identification fields, creation calendar date and time, a sample-accurate recording time field, and a SMPTE UMID.

For a Wave file to be a complaint "Broadcast-WAV" file, it must contain a bext metadata record.

For reference on the structure and use of the BEXT record check out EBU Tech 3285.

Fields

description: String

256 ASCII character field with free text.

originator: String

Originating application.

originator_reference: String

Application-specific UID.

origination_date: String

Creation date in format YYYY-MM-DD.

origination_time: String

Creation time in format HH:MM:SS.

time_reference: u64

Time of the start of this wave file, expressed as the number of samples since local midnight.

version: u16

Bext chunk version.

Version 1 contains a UMID, version 2 contains a UMID and loudness metadata.

umid: Option<[u8; 64]>

SMPTE 330M UMID

This field is None if the version is less than 1.

loudness_value: Option<f32>

Integrated loudness in LUFS.

This field is None if the version is less than 2.

loudness_range: Option<f32>

Loudness range in LU.

This field is None if the version is less than 2.

max_true_peak_level: Option<f32>

Maximum True Peak Level in decibels True Peak.

This field is None if the version is less than 2.

max_momentary_loudness: Option<f32>

Maximum momentary loudness in LUFS.

This field is None if the version is less than 2.

max_short_term_loudness: Option<f32>

Maximum short-term loudness in LUFS.

This field is None if the version is less than 2.

coding_history: String

Coding History.

Trait Implementations

impl Debug for Bext[src]

Auto Trait Implementations

impl RefUnwindSafe for Bext

impl Send for Bext

impl Sync for Bext

impl Unpin for Bext

impl UnwindSafe for Bext

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.