We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e51df9e commit c4b2b71Copy full SHA for c4b2b71
test/test_sigproc.py
@@ -2,6 +2,8 @@
2
import unittest
3
import numpy as np
4
import time
5
+import scipy.io.wavfile as wav
6
+from python_speech_features import mfcc
7
8
9
class test_case(unittest.TestCase):
@@ -29,3 +31,7 @@ def test_rolling(self):
29
31
[6, 7, 8, 9]]
30
32
)
33
y = np.testing.assert_array_equal(y, y_expected)
34
+
35
+ def test_mfcc(self):
36
+ (rate, sig) = wav.read("../english.wav")
37
+ mfcc_feat = mfcc(sig, rate)
0 commit comments