I'm currently doing a thesis about chord recognition with EPCP with wav file as an input, but now I'm stuck at determining number of frames and frame size of a single wav file. I need those data as the parameters for hammingwindow function in NAudio library
public static double HammingWindow(int n, int frameSize)
I've retrieved all available wav headers, but I dont know how to get number of frames and frame size. Can I calculate it from given header data? Or is there another way?
I have not used HammingWindow. A frame according to this is like a sample, but for multichannel format "a snapshot of all the channels at a specific data point".
You can get the sample size using something like this from the header, if that is actually what you want.