Jamie Hardt 0e1094421e Update .travis.yml
Removing 2.7 for now
2019-01-05 10:28:23 -08:00
2019-01-05 09:52:13 -08:00
2019-01-02 12:26:52 -08:00
2019-01-05 10:27:29 -08:00
2019-01-04 19:58:03 -08:00
2018-12-31 12:28:14 -08:00
2019-01-05 10:28:23 -08:00
2018-12-31 12:22:44 -08:00
2019-01-01 12:09:03 -08:00
2019-01-04 19:58:03 -08:00
2019-01-05 09:51:39 -08:00

Build Status Coverage Status Documentation Status

wavinfo

The wavinfo package allows you to probe WAVE files and extract extended metadata, with an emphasis on 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)
Languages
Python 84.5%
Roff 15.5%