Skip to main content

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

Project description

Build Status 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 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 STEINBERG sound 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

Project details


Download files

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

Files for wavinfo, version 1.5
Filename, size File type Python version Upload date Hashes
Filename, size wavinfo-1.5-py3-none-any.whl (12.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size wavinfo-1.5.tar.gz (11.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page