changeset 23:535d559300dc

* fix incorrect default values for parameters (must match declared defaults)
author cannam
date Thu, 16 Jul 2009 13:19:20 +0000
parents 1ae350e97f93
children 7d28bed0864e
files Example VamPy plugins/PySpectralCentroid.py Example VamPy plugins/PyZeroCrossing.py
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Example VamPy plugins/PySpectralCentroid.py	Tue Jul 14 15:54:03 2009 +0000
+++ b/Example VamPy plugins/PySpectralCentroid.py	Thu Jul 16 13:19:20 2009 +0000
@@ -11,7 +11,7 @@
 		self.m_blockSize = 0
 		self.m_channels = 0
 		self.previousSample = 0.0
-		self.threshold = 0.00
+		self.threshold = 0.05
 		
 	def initialise(self,channels,stepSize,blockSize,inputSampleRate):
 		self.m_channels = channels
--- a/Example VamPy plugins/PyZeroCrossing.py	Tue Jul 14 15:54:03 2009 +0000
+++ b/Example VamPy plugins/PyZeroCrossing.py	Thu Jul 16 13:19:20 2009 +0000
@@ -9,7 +9,7 @@
 		self.m_blockSize = 0
 		self.m_channels = 0
 		self.previousSample = 0.0
-		self.threshold = 0.01
+		self.threshold = 0.005
 		
 	def initialise(self,channels,stepSize,blockSize,inputSampleRate):
 		self.m_channels = channels