BAM-PFA / pymm

A set of scripts for audiovisual digital preservation tasks
BSD 2-Clause "Simplified" License
5 stars 2 forks source link

Audio handling #29

Closed mcampos-quinn closed 5 years ago

mcampos-quinn commented 5 years ago

This adds some more detail to handling audio input when making access files, for example, when multiple audio streams will need to be handled.

I also added a test for an empty mono audio stream, which seems to be the case with a lot of U-matics transferred (by students?) with two discrete mono tracks, one of which may be empty. In these cases, I set the threshold @ -50dB RMS peak to indicate a functionally empty track.

The tests I've added borrow heavily from mmfunctions, thx @dericed.