Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e6195f2

Browse filesBrowse files
committed
fixed example
1 parent ed3866e commit e6195f2
Copy full SHA for e6195f2

1 file changed

+4-4Lines changed: 4 additions & 4 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎example.py‎

Copy file name to clipboard
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
from mfcc import mfcc
2-
from mfcc import fbank
1+
from features import mfcc
2+
from features import logfbank
33
import scipy.io.wavfile as wav
44

55
(rate,sig) = wav.read("file.wav")
66
mfcc_feat = mfcc(sig,rate)
7-
fbank_feat = fbank(sig,rate)
7+
fbank_feat = logfbank(sig,rate)
88

9-
print mfcc_feat[1:3,:]
9+
print fbank_feat[1:3,:]

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.