Showing the changes to python (1 of 1 file). Show all
Unified · Split
| @@ -24,7 +24,7 @@ samplerate = s.samplerate · 23 unmodified lines | ||
| 24 | 24 | p = pvoc(win_s, hop_s) |
| 25 | 25 | m = mfcc(win_s, n_filters, n_coeffs, samplerate) |
| 26 | 26 | |
| 27 | −mfccs = zeros([13,]) | |
| 27 | +mfccs = zeros([n_coeffs,]) | |
| 28 | 28 | frames_read = 0 |
| 29 | 29 | while True: |
| 30 | 30 | samples, read = s() |