Skip to content

Update wav-diff to v0.4.0

  • Related issues: N/A
  • Requested reviewers:

Reason why this change is needed

  • New features were requested

Description of the change

Added new option --per-segment/-s

If the flag is enabled, wav-diff will print MLD values for each MLD segment in csv format. The columns are:

Column Description
unscaled_region_start_ms, unscaled_region_end_ms Timestamps (in milliseconds) for each MLD segment on the unscaled time axis
mld_channel_<n> MLD value for channel n
scaled_region_ref_start_ms, scaled_region_ref_end_ms Timestamps (in milliseconds) of regions in the time-scaled REF wav that correspond to each MLD segment. Only present if --ref-jbm-trace was given.
scaled_region_cut_start_ms, scaled_region_cut_end_ms Timestamps (in milliseconds) of regions in the time-scaled CUT wav that correspond to each MLD segment. Only present if --cut-jbm-trace was given.

Sampling rate of inputs is now limited to 48 kHz

The library used for MLD computation implicitly assumes that the input is sampled at 48 kHz. Until now wav-diff had no checks if that was in fact the case, leading to meaningless MLD values for wav files at sampling rates other than 48 kHz. This version introduces a simple check, which will cause wav-diff to return an error if the input audio does not have the required sample rate.

Affected operating points

N/A

Note on license info

Some dependencies were updated, and the license info files were updated accordingly. While the list of specific dependencies has slightly changed, the list of licenses under which the dependencies are used remains unchanged and consists exclusively of previously approved licenses: MIT, Apache 2.0 and Unicode v3.0.

Merge request reports

Loading