Overview
Replicates, windows, and overlap adds signals
Discussion
This module forms part of the synthesis bank of a filterbank and typically follows the inverse FFT. The module replicates the input N times where N = (window length) / (ifftSize). The replicated signal is multiplied by the window and the result is added to a state buffer. The first OLEN samples of the state buffer are output and then the state buffer is left shifted by OLEN samples.
This module operates on fract32 data.
Type Definition
Code Block |
---|
typedef struct _ModuleRepWinOverlapFract32 { ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure INT32 winLen; // Length of the window INT32 repCount; // Number of times to replicate the input prior to applying the window fract32* window; // Window coefficients fract32* state; // State variable array } ModuleRepWinOverlapFract32Class; |
Variables
Properties
Name | Type | Usage | isHidden | Default value | Range | Units |
winLen | int | const | 0 | 128 | Unrestricted | |
repCount | int | const | 1 | 4 | Unrestricted | |
window | fract32* | parameter | 0 | [128 x 1] | Unrestricted | |
state | fract32* | state | 1 | [128 x 1] | Unrestricted |
Pins
Input Pins
Name: in
Description: audio input
...
Sample rate range: Unrestricted
Complex support: Real
Output Pins
Name: out
Description: audio output
Data type: fract32
MATLAB Usage
File Name: replicate_window_overlap_fract32_module.m
...