diff Example VamPy plugins/PySpectralCentroid.py @ 13:3983172c1db2

fixed PySpectralCentroid example
author fazekasgy
date Wed, 02 Jul 2008 12:11:35 +0000
parents d2d36e7d2276
children 535d559300dc
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