Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Source buffer holding 1 wire of constant data with optional input control pin to scale DC value

Discussion

The DC source Source module has an internal variable holding one data value. The module continuously fills the output wire with the internal data value. Since this is a source module, you must specify the number of channels, blockSize, and sample rate of the output pin

...

Code Block
typedef struct _ModuleDCSourceV2Fract32
{
    ModuleInstanceDescriptor instance;            // Common Audio Weaver module instance structure
    FLOAT32 value;                                // Data Value
    fract32 valuefract32;                         // Data Value
} ModuleDCSourceV2Fract32Class;

Variables

Properties

Name

Type

Usage

isHidden

Default value

Range

Units

value

float

parameter

0

0.99

-1:1

valuefract32

fract32

derived

0

0.99

Unrestricted

Pins

Input Pins

Name: control

...