Probe WAVE Files for iXML, Broadcast-WAVE and other metadata.
Project description
wavinfo
The wavinfo package allows you to probe WAVE and RF64/WAVE files and extract extended metadata, with an emphasis on film, video and professional music production metadata.
wavinfo reads:
- Broadcast-WAVE metadata, compliant with EBU Tech 3285v2 (2011), including embedded program loudness and coding history, if extant. This also includes the SMPTE 330M UMID Unique Materials Identifier.
- iXML production recorder metadata, including project, scene, and take tags, recorder notes and file family information.
- Most of the common RIFF INFO metadata fields.
- The wav format is also parsed, so you can access the basic sample rate and channel count information.
In progress:
- iXML
STEINBERGsound library attributes. - Pro Tools embedded regions.
Demonstration
The entry point for wavinfo is the WavInfoReader class.
from wavinfo import WavInfoReader
path = '../tests/test_files/A101_1.WAV'
info = WavInfoReader(path)
The package also installs a shell command:
$ wavinfo test_files/A101_1.WAV
Basic WAV Data
The length of the file in frames (interleaved samples) and bytes is available, as is the contents of the format chunk.
(info.data.frame_count, info.data.byte_count)
>>> (240239, 1441434)
(info.fmt.sample_rate, info.fmt.channel_count, info.fmt.block_align, info.fmt.bits_per_sample)
>>> (48000, 2, 6, 24)
Other Resources
- For other file formats and ID3 decoding, look at audio-metadata.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wavinfo-1.5.tar.gz.
File metadata
- Download URL: wavinfo-1.5.tar.gz
- Upload date:
- Size: 11.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7462224feff262a6a2b015400c080d29b9ad49e3a8867bf24e2e434d475b6762
|
|
| MD5 |
7d4894ed5d16ddf7bf0c80c710819f69
|
|
| BLAKE2b-256 |
443adb0057339be2fd84c4d4f94d7a43410b59fd4a05fe3fb38b07b565ace1f0
|
File details
Details for the file wavinfo-1.5-py3-none-any.whl.
File metadata
- Download URL: wavinfo-1.5-py3-none-any.whl
- Upload date:
- Size: 12.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/3.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
384e1b071cbb0071f31ffe36ae456bd08a85cbfc204e69e0f9582712604d8182
|
|
| MD5 |
b232d9683cbb980a845f3d94fcd08547
|
|
| BLAKE2b-256 |
94f25eb989b251a2c5181904c30508388452ea37da42bb256c887afb047f574b
|