History

python/demos/demo_mfcc.py: use n_coeffs

Paul Brossier committed 12 years ago

Commit d0bdf0c1 parent 584714c1 file · +1 −1Browse files

Showing the changes to python (1 of 1 file). Show all

Unified · Split

python/demos/demo_mfcc.py+1−1
@@ -24,7 +24,7 @@ samplerate = s.samplerate · 23 unmodified lines
2424 p = pvoc(win_s, hop_s)
2525 m = mfcc(win_s, n_filters, n_coeffs, samplerate)
2626
27−mfccs = zeros([13,])
27+mfccs = zeros([n_coeffs,])
2828 frames_read = 0
2929 while True:
3030 samples, read = s()

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t