Skip to main content

Probe WAVE Files for iXML, Broadcast-WAVE and other metadata.

Project description

Build Status codecov Documentation Status

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 STEINBERG sound 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)

Platform Lifecycle Stuff

Python 3.5 support is deprecated.

Other Resources

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wavinfo-1.6.tar.gz (11.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wavinfo-1.6-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file wavinfo-1.6.tar.gz.

File metadata

  • Download URL: wavinfo-1.6.tar.gz
  • Upload date:
  • Size: 11.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for wavinfo-1.6.tar.gz
Algorithm Hash digest
SHA256 79478ca0df97f88b934010bddc857ffa99d4843c954e2012f69de62ff9056871
MD5 672cb01c4041b74540b56660f6338a5f
BLAKE2b-256 d4ba032d185f1cbe366bd5b35aa3ffa635e95ed31b94df93b94ee0af219b8613

See more details on using hashes here.

File details

Details for the file wavinfo-1.6-py3-none-any.whl.

File metadata

  • Download URL: wavinfo-1.6-py3-none-any.whl
  • Upload date:
  • Size: 13.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for wavinfo-1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 d03a139bd9f04d460cce26dae3becb4fb017987d9c4274342753e033ddbf9639
MD5 630e69b27bfa1c1717805fce6fbea6f7
BLAKE2b-256 7bf6552d5a999b1756c6e4a10a13d4ba7875ec38a0b2eca541f21005dc32003b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page