Segmenter

From a signal, output chunks of determined size, with optional overlap. Introduces approximately windowSize/2 samples delay.

Destructor

~this
~this()
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Functions

analysisPeriod
int analysisPeriod()
Undocumented in source. Be warned that the author may not have intended to support it.
buffer
T[] buffer()
feed
bool feed(T x, void delegate(T[] segment) nothrow @(nogc) processSegment)
Undocumented in source. Be warned that the author may not have intended to support it.
initialize
void initialize(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.

segmentSize
int segmentSize()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta