The routine mfcc in mfcc.c creates a buffer of 27 (n+1) doubles called fb. It sends fb+1 to dct as dct's argument in. n is also sent to dct as dct's argument size. dct proceeds to access in[k+size] where k is going from 0 to size. It would seem that dct is accessing values beyond the end of fb, namely fb[26] through fb[51].
Or?
Thanks in advance for any insight.
Cheers, Scott
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The routine mfcc in mfcc.c creates a buffer of 27 (n+1) doubles called fb. It sends fb+1 to dct as dct's argument in. n is also sent to dct as dct's argument size. dct proceeds to access in[k+size] where k is going from 0 to size. It would seem that dct is accessing values beyond the end of fb, namely fb[26] through fb[51].
Or?
Thanks in advance for any insight.
Cheers, Scott
Thank you for your report.
The bug seems to be fixed in the ticket below.
https://sourceforge.net/p/sp-tk/bugs/94/