changeset 13:3983172c1db2

fixed PySpectralCentroid example
author fazekasgy
date Wed, 02 Jul 2008 12:11:35 +0000
parents 095df80af751
children 8cd6346e755f
files Example VamPy plugins/PySpectralCentroid.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Example VamPy plugins/PySpectralCentroid.py	Thu Jun 19 15:08:08 2008 +0000
+++ b/Example VamPy plugins/PySpectralCentroid.py	Wed Jul 02 12:11:35 2008 +0000
@@ -82,7 +82,7 @@
 		else:
 			return 0.0
 			
-	def process(self,inbuf):
+	def process(self,inbuf,timestamp):
 		inArray = array(inbuf[0])
 		crossing = False
 		prev = self.previousSample