apply
Apply the window function to a sample buffer.
Parameters
samples
a sample buffer
Apply the window to a portion of this sample buffer, given an offset from the beginning of the buffer and the number of samples to be windowed.
Parameters
samples
float[]: the array of samples to apply the window to
offset
int: the index in the array to begin windowing
length
int: how many samples to apply the window to