mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 23:35:03 +01:00
Update EBU VAMP plugin, report max short/mometary loudness
This commit is contained in:
parent
239319c214
commit
a26be84a5e
1 changed files with 16 additions and 5 deletions
|
|
@ -111,7 +111,7 @@ VampEBUr128::getOutputDescriptors() const
|
||||||
OutputDescriptor zc;
|
OutputDescriptor zc;
|
||||||
zc.identifier = "loundless";
|
zc.identifier = "loundless";
|
||||||
zc.name = "Integrated loudness";
|
zc.name = "Integrated loudness";
|
||||||
zc.description = "Integrated Loudness";
|
zc.description = "Loudness (integrated, short, momentary)";
|
||||||
zc.unit = "LUFS";
|
zc.unit = "LUFS";
|
||||||
zc.hasFixedBinCount = true;
|
zc.hasFixedBinCount = true;
|
||||||
zc.binCount = 0;
|
zc.binCount = 0;
|
||||||
|
|
@ -167,10 +167,21 @@ VampEBUr128::getRemainingFeatures()
|
||||||
{
|
{
|
||||||
FeatureSet returnFeatures;
|
FeatureSet returnFeatures;
|
||||||
|
|
||||||
Feature loudness;
|
Feature loudness_integrated;
|
||||||
loudness.hasTimestamp = false;
|
loudness_integrated.hasTimestamp = false;
|
||||||
loudness.values.push_back(ebu.integrated());
|
loudness_integrated.values.push_back(ebu.integrated());
|
||||||
returnFeatures[0].push_back(loudness);
|
|
||||||
|
Feature loudness_short;
|
||||||
|
loudness_short.hasTimestamp = false;
|
||||||
|
loudness_short.values.push_back(ebu.maxloudn_S());
|
||||||
|
|
||||||
|
Feature loudness_momentary;
|
||||||
|
loudness_momentary.hasTimestamp = false;
|
||||||
|
loudness_momentary.values.push_back(ebu.maxloudn_M());
|
||||||
|
|
||||||
|
returnFeatures[0].push_back(loudness_integrated);
|
||||||
|
returnFeatures[0].push_back(loudness_short);
|
||||||
|
returnFeatures[0].push_back(loudness_momentary);
|
||||||
|
|
||||||
Feature range;
|
Feature range;
|
||||||
range.hasTimestamp = false;
|
range.hasTimestamp = false;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue