Mercurial > hg > vampy
diff Example VamPy plugins/PySpectralCentroid.py @ 69:f5b8646494d2
Metadata fixes
author | Chris Cannam |
---|---|
date | Mon, 17 Nov 2014 12:53:51 +0000 |
parents | 44d56a3d16b7 |
children | 6c755f3e1173 |
line wrap: on
line diff
--- a/Example VamPy plugins/PySpectralCentroid.py Mon Nov 17 11:44:15 2014 +0000 +++ b/Example VamPy plugins/PySpectralCentroid.py Mon Nov 17 12:53:51 2014 +0000 @@ -4,7 +4,7 @@ extension module. The plugin has frequency domain input and is using the -legacy interface: the FFT outpout is passed as a list +legacy interface: the FFT output is passed as a list of complex numbers. Outputs: @@ -57,7 +57,13 @@ def getIdentifier(self): return 'vampy-sc3' - + + def getDescription(self): + return 'Calculate the linear frequency centroid of the short-time Fourier spectrum' + + def getCopyright(self): + return 'Plugin By George Fazekas. Freely redistributable example plugin (BSD license)' + def getMaxChannelCount(self): return 1