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 metadata1, including embedded program loudness and coding history, if extant. This also includes the SMPTE UMID2.
- iXML production recorder metadata3, including project, scene, and take tags, recorder notes and file family information.
- Most of the common RIFF INFO4 metadata fields.
- The wav format is also parsed, so you can access the basic sample rate and channel count information.
In progress:
- ADM metadata consilient with the output of the Dolby RMU, perhaps later fully complaint with ITU BS.2076-2.
- iXML
STEINBERGsound library attributes. - NetMix 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
File details
Details for the file wavinfo-1.7.0.macosx-12-x86_64.tar.gz.
File metadata
- Download URL: wavinfo-1.7.0.macosx-12-x86_64.tar.gz
- Upload date:
- Size: 22.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b6c7eb9f5e457ed60d41955e2702d12608fde0071cdcd368ed5f167d673379a
|
|
| MD5 |
a0647e86713ae4c492837c6de029cab6
|
|
| BLAKE2b-256 |
b47b0098549712cc7c62e2620b609e1a598d9acde7e6cb0f6f753d0a9fe98d6c
|