DCSourceFract16
Overview
Outputs a constant DC value with optional input control pin to scale DC value.
Discussion
The DC source module has an internal variable holding one data value. The module continuously fills the output wire with the internal data value. This module also has optional input control pin to scale the internal data value. The output blockSize and sample rate can be specified. If not specified, the values are taken from the system input.
Type Definition
typedef struct _ModuleDCSourceFract16
{
ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure
FLOAT32 value; // Data Value
fract16Var valuefract16; // Data Value
} ModuleDCSourceFract16Class;
Variables
Properties
Name | Type | Usage | isHidden | Default value | Range | Units |
value | float | parameter | 0 | 0.99 | -1:0.999984741211 | |
valuefract16 | fract16 | derived | 0 | 0.98999 | Unrestricted |
Pins
Input Pins
Name: control
Description: Input control signal
Data type: fract16
Channel range: Unrestricted
Block size range: Unrestricted
Sample rate range: Unrestricted
Complex support: Real
Output Pins
Name: out
Description: output data
Data type: fract16