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.
  • ADM track metadata3, including channel, pack formats, object and content names.
  • iXML production recorder metadata4, including project, scene, and take tags, recorder notes and file family information.
  • Most of the common RIFF INFO5 metadata fields.
  • The wav format is also parsed, so you can access the basic sample rate and channel count information.

In progress:

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-2.0.0.tar.gz (15.0 kB view details)

Uploaded Source

Built Distribution

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

wavinfo-2.0.0-py3-none-any.whl (16.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for wavinfo-2.0.0.tar.gz
Algorithm Hash digest
SHA256 935b108e35ae45474c2871a2e5f556c07a55f855a876df063778b71d37b985eb
MD5 60eba822cefaf9415b8124cbcdbfda4b
BLAKE2b-256 a432a7a05b8f5763013008a3b826ab69e4232094f9b6d492861ad38585c00930

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for wavinfo-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e02cb31984aad019c8682f7de99b040637ab0f7aadb551768eaf2ed4a7207ceb
MD5 60daa5cfddefc74cd86b2e03c2537d82
BLAKE2b-256 4d9c1a1f2a72bc6dc59b85e4e4fca3d067ec903e7293d2bda76c34dff69b785e

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