...
The module is designed to work with the wola_analysis_subsystem.m and the sample rate specified equals the decimated subband sample rate. Alternate sample rates must use a SetWireProperties module, the sampleRate input is ignored. The bin spacing will be the incoming wire sample rate / 2
Type Definition
Code Block |
---|
typedef struct _ModuleSbSmoothV2 { ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure INT32 type; // Determines which type of smoothing is applied: Linear=0, Logarithmic=1, Custom=2 FLOAT32 startFreq; // Starting frequency for the smoothing operation FLOAT32 width; // Amount of smoothing INT32* startIndex; // Starting index for the averaging process. INT32* endIndex; // Ending index for the averaging process. FLOAT32* oneOverN; // Precomputed 1/N for averaging. } ModuleSbSmoothV2Class; |
Variables
Properties
Name | Type | Usage | isHidden | Default value | Range | Units |
type | int | parameter | 0 | 1 | 0:2 | |
startFreq | float | parameter | 0 | 0 | 0:3072000 | Hz |
width | float | parameter | 0 | 0.1667 | 0:2400 | |
startIndex | int* | derived | 1 | [257 x 1] | Unrestricted | |
endIndex | int* | derived | 1 | [257 x 1] | Unrestricted | |
oneOverN | float* | derived | 1 | [257 x 1] | Unrestricted |
Pins
Input Pins
Name: in
Description: audio input
...