Mercurial > hg > vampy
diff Example VamPy plugins/PySpectralFeatures.py @ 68:44d56a3d16b7
Various fixes to the example plugins
author | Chris Cannam |
---|---|
date | Mon, 17 Nov 2014 11:44:15 +0000 |
parents | 146d14ab15e7 |
children | f5b8646494d2 |
line wrap: on
line diff
--- a/Example VamPy plugins/PySpectralFeatures.py Mon Nov 17 10:03:44 2014 +0000 +++ b/Example VamPy plugins/PySpectralFeatures.py Mon Nov 17 11:44:15 2014 +0000 @@ -40,7 +40,7 @@ def reset(self): # reset any initial conditions - self.prevMag = zeros((blockSize/2)) + self.prevMag = zeros((self.m_blockSize/2)) return None def getMaker(self): @@ -102,7 +102,7 @@ threshold = ParameterDescriptor() threshold.identifier='threshold' threshold.name='Noise threshold' - threshold.description='Noise threshold' + threshold.description='Magnitude below which a process block will be disregarded and zeroes returned' threshold.unit='v' threshold.minValue=0 threshold.maxValue=1