justinsalamon / scaper

A library for soundscape synthesis and augmentation
BSD 3-Clause "New" or "Revised" License
384 stars 56 forks source link

Shortlufs #28

Closed justinsalamon closed 6 years ago

justinsalamon commented 6 years ago

This PR fixes a bug resulting from a bug/feature in ffmpeg where for very short files the LUFS value is always a constant.

The fix involves self-concatenating short files prior to computing their LUFS value to ensure we don't get a constant.


This change is Reviewable

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling c5dbe3108d4ee0e99e4ff7fe2a9f872d1c38bdde on shortlufs into 82f2f7e73c0b88c1c46ab0973619d03e853462e4 on master.

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 100.0% when pulling 99d88fa8b92d154b512f9a84660dc150e86e4204 on shortlufs into 82f2f7e73c0b88c1c46ab0973619d03e853462e4 on master.