(8.D.2.7) DCSourceConst
Overview
Outputs a constant DC value. Supports float, int, and fract output types.
Discussion
The DC source module has a constant internal variable holding the data value specified in the argument.
The module supports float, fract32, or integer output and the pin type is selectable with the outType argument. The module continuously fills the output wire with the internal data value. The module supports both single and multichannel interleaved output to a single module output pin.
The output blockSize, sample rate, and number of channels can be specified. If not specified, the values are taken from the system input.
Unlike the DCSource module, the output value can only be adjusted during design time, and there is no inspector or optional input pin to control the output value. This allows for the user of layout variables to set the output value, which is not possible with the other existing DC Source modules.
Note that the numbers on canvas/output wire may differ if the argument is out of range for that data type.