]> git.parisson.com Git - timeside-diadems.git/commitdiff
Add Processor a post_process() function. analyzer will produce the Results during...
authorThomas Fillon <thomas@parisson.com>
Tue, 15 Oct 2013 22:29:35 +0000 (00:29 +0200)
committerThomas Fillon <thomas@parisson.com>
Tue, 15 Oct 2013 22:29:35 +0000 (00:29 +0200)
timeside/analyzer/irit_speech_4hz.py
timeside/analyzer/irit_speech_entropy.py

index 8d054872157ee16e9ca7e75f9102adcb11cca101..1e5e87638992834213fa1043ecd05166fdcf624f 100644 (file)
@@ -101,7 +101,7 @@ class IRITSpeech4Hz(Analyzer):
 
         return frames, eod
 
-    def release(self):
+    def post_process(self):
         '''
 
         '''
index bc034b45a1509863694d8eca234e550ae1beebd7..8f84544dc4a2a54eae0d5e92f38ccd02c5d83a53 100644 (file)
@@ -62,7 +62,7 @@ class IRITSpeechEntropy(Analyzer):
         self.entropyValue.append(entropy(frames))
         return frames, eod
 
-    def release(self):
+    def post_process(self):
 
         entropyValue = array(self.entropyValue)
         w = self.modulLen * self.samplerate() / self.blocksize()