]> git.parisson.com Git - timeside-diadems.git/commitdiff
Add BufferTable support in spectrogram
authorThomas Fillon <thomas@parisson.com>
Mon, 20 Oct 2014 14:55:09 +0000 (16:55 +0200)
committerThomas Fillon <thomas@parisson.com>
Mon, 20 Oct 2014 14:55:09 +0000 (16:55 +0200)
timeside/analyzer/irit_noise_startSilences.py

index 60f55cbc1b6fb4e319ffdf37ea4d1ec40c4df8f8..bbea231be79ba4ba9ea86ff6d911fb7894128069 100644 (file)
@@ -104,7 +104,7 @@ class IRITStartSeg(Analyzer):
         #                                              frames.T[0]) ** 2))]
         # Compute energy
         env, self.filtre_z = lfilter(b=self.filtre, a=1.0, axis=0,
-                                     x=frames[:,0],
+                                     x=frames[:, 0],
                                      zi=self.filtre_z)
         self._buffer.append('energy', numpy.sqrt(numpy.mean(env ** 2)))