public class HanningAudioProcessor extends WeightedWindowedAudioProcessor
useWeights, weightTable| Constructor and Description |
|---|
HanningAudioProcessor(AudioStream stream,
int sizeRequired)
Chainable constructor.
|
HanningAudioProcessor(AudioStream as,
int nSamplesInWindow,
int nSamplesOverlap)
Chainable constructor that takes the size of the window and
the number of samples overlap.
|
HanningAudioProcessor(int sizeRequired)
Default constructor for non chainable processing.
|
HanningAudioProcessor(int nSamplesInWindow,
int nSamplesOverlap)
Constructor that takes the size of the window and the number of samples
overlap.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
generateWeightTableCache(int length,
int nc)
Generate the cos table cache
|
getWeights, getWindowSum, getWindowSum, process, process, processSamplesgetWindowSize, getWindowStep, isOverlapping, nextSampleChunk, setWindowSize, setWindowStepgetLength, getUnderlyingStream, process, processingComplete, reset, setUnderlyingStreamiterator, seekclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic HanningAudioProcessor(int sizeRequired)
sizeRequired - Size of the window requiredpublic HanningAudioProcessor(AudioStream stream, int sizeRequired)
stream - The audio stream to processsizeRequired - The size of window required.public HanningAudioProcessor(int nSamplesInWindow, int nSamplesOverlap)
nSamplesInWindow - Samples in windownSamplesOverlap - Samples in window overlappublic HanningAudioProcessor(AudioStream as, int nSamplesInWindow, int nSamplesOverlap)
as - The chained audio streamnSamplesInWindow - Samples in windownSamplesOverlap - Samples in window overlapprotected void generateWeightTableCache(int length, int nc)
generateWeightTableCache in class WeightedWindowedAudioProcessorlength - The length of the window to generate (per channel)nc - The number of channels for which to generate a weight table