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)

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.

Source Distribution

wavinfo-1.4.1.tar.gz (10.5 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.4.1-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wavinfo-1.4.1.tar.gz
  • Upload date:
  • Size: 10.5 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

Hashes for wavinfo-1.4.1.tar.gz
Algorithm Hash digest
SHA256 54425a18d122feba9161b7187447faa0be1d06d63a82f5c4240edcc6ab666027
MD5 4568989e7a29d34f99ad533e12fc264a
BLAKE2b-256 fa8ff98e574ec525c939187c94e5038ee5a1cc307199a3d9e827137f00882aca

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wavinfo-1.4.1-py3-none-any.whl
  • Upload date:
  • Size: 11.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

Hashes for wavinfo-1.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ef811ed2d7e7e9e0634ea85dcdaa6b237a1fc0e8a5750089cb9b9e7ceecfde02
MD5 bb4f5b6b9f29e98828a1624a8dcdf716
BLAKE2b-256 692742e91ec7868c27a59ad65b2f08cd3e411add30a30db6dddbad09fabe1a94

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