Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Scroll Documents: Update page title prefix

Overview

Module which allows to overwrite control data on any channel.

Discussion

This is a multi channel control copy module which copies input to output with an option to overwrite the output of each channel. Overwrite is an array of size number of channels, with each element a boolean indicates whether to overwrite output with the element from Value array for that perticular channel.

Type Definition

Code Block
typedef struct _ModuleOverwriteControl
{
    ModuleInstanceDescriptor instance;            // Common Audio Weaver module instance structure
    INT32 dataType;                               // Data type of the input/output pin, used internally.
    INT32* Overwrite;                             // Boolean indicates whether to overwrite the output of a channel by the given value.
    FLOAT32* Value;                               // Array of values to be overwritten per channel.
} ModuleOverwriteControlClass;

Variables

Properties

Name

Type

Usage

isHidden

Default value

Range

Units

dataType

int

derived

1

0

Unrestricted

Overwrite

int*

parameter

0

[1 x 1]

Unrestricted

Value

float*

parameter

0

[1 x 1]

Unrestricted

Pins

Input Pins

Name: in

Description: Input signal

...

Sample rate range: Unrestricted

Complex support: Real

Output Pins

Name: out

Description: Output signal

Data type: {float, int, fract32}

MATLAB Usage

File Name: overwrite_control_module.m

...