...
This module is multi-type and supports both floating-point and fract32 audio signals. Note that the The module is not smoothly varying, and the gain value is applied to both the real and imaginary parts. If you update the gain value, you may introduce an audible click. For clickless operation, use the ScalerSmoothedFract32 module instead, which does not work with complex data.
Type Definition
Code Block |
---|
typedef struct _ModuleScalerFract32 { ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure FLOAT32 gain; // Linear gain fract32 f; // Multiplicative gain factor INT32 shift; // Number of bits to shift } ModuleScalerFract32Class; |
Variables
Properties
Name | Type | Usage | isHidden | Default value | Range | Units |
gain | float | parameter | 0 | 1 | -10:10 | linear |
f | fract32 | derived | 1 | 0.5 | Unrestricted | |
shift | int | derived | 1 | 1 | Unrestricted |
Pins
Input Pins
Name: in1
Description: Input signal
...