fixes an issue with volume autodetection that caused clipping with some source masters
This commit is contained in:
parent
9437d387ec
commit
d12eb050a7
2 changed files with 2 additions and 1 deletions
|
@ -268,6 +268,7 @@ if __name__ == "__main__":
|
||||||
print(output.decode("utf-8"))
|
print(output.decode("utf-8"))
|
||||||
raise RuntimeError
|
raise RuntimeError
|
||||||
|
|
||||||
|
info.volume_correction = min(info.volume_correction, info.max_correction)
|
||||||
main.print("detected volume %.1f dB, correction %.1f dB, max. correction %.1f dB" %(info.mean_volume, info.volume_correction, info.max_correction))
|
main.print("detected volume %.1f dB, correction %.1f dB, max. correction %.1f dB" %(info.mean_volume, info.volume_correction, info.max_correction))
|
||||||
|
|
||||||
if info.volume_correction > info.max_correction:
|
if info.volume_correction > info.max_correction:
|
||||||
|
|
|
@ -4,5 +4,5 @@
|
||||||
major = 1 # VERSION_MAJOR_IDENTIFIER
|
major = 1 # VERSION_MAJOR_IDENTIFIER
|
||||||
minor = 101 # VERSION_MINOR_IDENTIFIER
|
minor = 101 # VERSION_MINOR_IDENTIFIER
|
||||||
# VERSION_LAST_MM 1.101
|
# VERSION_LAST_MM 1.101
|
||||||
patch = 2 # VERSION_PATCH_IDENTIFIER
|
patch = 3 # VERSION_PATCH_IDENTIFIER
|
||||||
str = ".".join(str(v) for v in (major, minor, patch))
|
str = ".".join(str(v) for v in (major, minor, patch))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue