voidinitialize(int segmentSize, int analysisPeriod)
To call at initialization and whenever samplerate changes.
segmentSize = size of sound segments, expressed in samples.
analysisPeriod = period of analysis results, allow to be more precise frequentially, expressed in samples.
From a signal, output chunks of determined size, with optional overlap. Introduces approximately windowSize/2 samples delay.