Skip to main content

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

Project description

Documentation Status Lint and Test

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)

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.7.2.tar.gz (13.7 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.7.2-py3-none-any.whl (14.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wavinfo-1.7.2.tar.gz
  • Upload date:
  • Size: 13.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for wavinfo-1.7.2.tar.gz
Algorithm Hash digest
SHA256 2431516dabf7f0a0d7d1d096a34d28f22cfb91ae1cb89a49e30f10b28b480979
MD5 b66c2438795a20362647c15c52b61f9a
BLAKE2b-256 f005f87e89e60785ed34f1ab9e80dd7d9a3b6c3ef4c7fdafd21e010592df7325

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wavinfo-1.7.2-py3-none-any.whl
  • Upload date:
  • Size: 14.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for wavinfo-1.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 aea722af952982a3ae9a7515e00cf02539b69d93f916b02eb888b07bb0b2ee54
MD5 9bef5ff1b361cf6642768ac7cc83cec7
BLAKE2b-256 b3d3237e8fabb2078b1c7f20909d4a9dc6338321d49cdd25d10af56c8530577c

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