1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-10 16:43:33 +02:00

Update libvamp to 2.5.

This commit is contained in:
lllucius
2013-10-31 06:33:59 +00:00
parent c8aa505879
commit 6fef6dd8b4
77 changed files with 6254 additions and 3598 deletions

View File

@@ -132,7 +132,7 @@ AmplitudeFollower::getOutputDescriptors() const
OutputDescriptor sca;
sca.identifier = "amplitude";
sca.name = "Amplitude";
sca.description = "";
sca.description = "The peak tracked amplitude for the current processing block";
sca.unit = "V";
sca.hasFixedBinCount = true;
sca.binCount = 1;
@@ -152,7 +152,7 @@ AmplitudeFollower::getParameterDescriptors() const
ParameterDescriptor att;
att.identifier = "attack";
att.name = "Attack time";
att.description = "";
att.description = "The 60dB convergence time for an increase in amplitude";
att.unit = "s";
att.minValue = 0.0f;
att.maxValue = 1.f;
@@ -164,7 +164,7 @@ AmplitudeFollower::getParameterDescriptors() const
ParameterDescriptor dec;
dec.identifier = "release";
dec.name = "Release time";
dec.description = "";
dec.description = "The 60dB convergence time for a decrease in amplitude";
dec.unit = "s";
dec.minValue = 0.0f;
dec.maxValue = 1.f;

View File

@@ -6,7 +6,7 @@
An API for audio analysis and feature extraction plugins.
Centre for Digital Music, Queen Mary, University of London.
Copyright 2006-2008 Chris Cannam and QMUL.
Copyright 2006-2009 Chris Cannam and QMUL.
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
@@ -44,6 +44,7 @@ using std::endl;
using Vamp::RealTime;
#include <cmath>
#include <cstdio>
class FixedTempoEstimator::D

View File

@@ -6,7 +6,7 @@
An API for audio analysis and feature extraction plugins.
Centre for Digital Music, Queen Mary, University of London.
Copyright 2006-2008 Chris Cannam and QMUL.
Copyright 2006-2009 Chris Cannam and QMUL.
Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation

View File

@@ -43,6 +43,11 @@ using std::endl;
#include <math.h>
#ifdef __SUNPRO_CC
#include <ieeefp.h>
#define isinf(x) (!finite(x))
#endif
#ifdef WIN32
#define isnan(x) false
#define isinf(x) false

View File

@@ -181,7 +181,7 @@ ZeroCrossing::process(const float *const *inputBuffers,
Feature feature;
feature.hasTimestamp = false;
feature.values.push_back(count);
feature.values.push_back(float(count));
returnFeatures[0].push_back(feature);
return returnFeatures;