I have migrated a project created with 0.9.10 to the latest release candidate 16.03.90 (latest Ubuntu PPA) with the "Volume (keyframeable)" effect and noted some strange/incorrect behavior: 1. Whenever the clip was faded out to 0 in version 0.9.10 document version 0.88, this was obviously migrated to -60 db in the new version document version 0.94. However, in the Project Monitor and Rendering outputs, this was not silent, but quite loud. 2. The mix between background music and foreground was not correct any more. Background music which was at levels 10 - 30 in the old version were almost not hearable any more in the new version (converted to too low volume levels). Reproducible: Always
I think I have probably found the bug. On line 1485 in documentvalidator.cpp, is says: v = log(v) * 20; This calculates the natural logarithm, not decimal logarithm. This should probably be: v = log10(v) * 20;
Created attachment 98345 [details] Use log10 rather than natural logarithm to convert from levels to db I understand that to convert from levels to db, log10 shall be used, not natural logarithm. Please use some care before applying as I wasn't able to test this due to the lack of a build environment.
Fixed in commit 693cc9a1a356e324b25fb993e892393ccec36797