Overview
Subband derivative
Discussion
Computes the derivative of frequency domain data individually within each subband. The derivative is defined as:
...
The hidden internal array .lastValue stores the previous value x[n-1] between blocks. The length of the array is set by the prebuild function to the number of subbands.
Type Definition
Code Block |
---|
typedef struct _ModuleSbDerivative { ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure FLOAT32 gain; // Additional gain. FLOAT32* lastValue; // Previous value x[n-1]. } ModuleSbDerivativeClass; |
Variables
Properties
Name | Type | Usage | isHidden | Default value | Range | Units |
gain | float | parameter | 0 | 1 | -10:10 | linear |
lastValue | float* | state | 1 | [32 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: float
MATLAB Usage
File Name: sb_derivative_module.m
...