]> git.parisson.com Git - timeside.git/commitdiff
Improve init in Yaafe analyzer
authorThomas Fillon <thomas@parisson.com>
Mon, 14 Oct 2013 23:54:21 +0000 (01:54 +0200)
committerThomas Fillon <thomas@parisson.com>
Mon, 14 Oct 2013 23:54:21 +0000 (01:54 +0200)
timeside/analyzer/yaafe.py

index b493a935e30222d171ff69a7d58b54e65b2130e1..e4e3c3d854744dea05496cc414bf06ce8c6ed318 100644 (file)
@@ -42,7 +42,6 @@ class Yaafe(Analyzer):
             # add feature definitions manually
             yaafeSpecification.addFeature('mfcc: MFCC blockSize=512 stepSize=256')
 
-
         if isinstance(yaafeSpecification, DataFlow):
             self.dataFlow = yaafeSpecification
         elif isinstance(yaafeSpecification, FeaturePlan):
@@ -53,6 +52,8 @@ class Yaafe(Analyzer):
                             (str(yaafeSpecification),
                              str(DataFlow),
                              str(FeaturePlan)))
+        self.yaafe_engine = None
+
 
     @interfacedoc
     def setup(self, channels=None, samplerate=None,