Bext documentation

This commit is contained in:
Jamie Hardt
2022-11-23 22:44:24 -08:00
parent b2323a126f
commit 9f8fc87d17
2 changed files with 5 additions and 4 deletions

View File

@@ -9,11 +9,12 @@ which includes a 256-character free text descrption, creating entity identifier
recording application or equipment), the date and time of recording and a time reference for
timecode synchronization.
The :py:attr:`coding_history` is designed to contain a record of every conversion performed on the audio
The :py:attr:`coding_history<wavinfo.wave_bext_reader.WavBextReader.coding_history>` is designed to contain a record of every conversion performed on the audio
file.
In this example (from a Sound Devices 702T) the bext metadata contains scene/take slating
information in the :py:attr:`description`. Here also the :py:attr:`originator_ref` is a serial number conforming
information in the :py:attr:`description<wavinfo.wave_bext_reader.WavBextReader.description>`.
Here also the :py:attr:`originator_ref<wavinfo.wave_bext_reader.WavBextReader.originator_ref>` is a serial number conforming
to EBU Rec 99.
If the bext metadata conforms to `EBU 3285 v1`_, it will contain the WAV's 32 or 64 byte `SMPTE

View File

@@ -29,9 +29,9 @@ class WavBextReader:
self.originator : str = sanitize_bytes(unpacked[1])
#: A unique identifier for the file, a serial number.
self.originator_ref : str = sanitize_bytes(unpacked[2])
#: Date of the recording, in the format YYY-MM-DD
#: Date of the recording, in the format YYYY-MM-DD in the local calendar
self.originator_date : str = sanitize_bytes(unpacked[3])
#: Time of the recording, in the format HH:MM:SS.
#: Time of the recording, in the format HH:MM:SS on the local clock
self.originator_time : str = sanitize_bytes(unpacked[4])
#: The sample offset of the start of the file relative to an
#: epoch, usually midnight the day of the recording.