Overview
Multi-input adder
Discussion
The adder has a variable number of input pins and a single output pin. In all cases, all inputs must have the same block size and this equals the block size of the output pin.
...
*NOTE* Enabling oneChannelOutput may reduce performance.
Type Definition
Code Block |
---|
typedef struct _ModuleAdder { ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure INT32 oneChannelOutput; // Boolean value that determines whether all channels are summed to form a single output. } ModuleAdderClass; |
Variables
Properties
Name | Type | Usage | isHidden | Default value | Range | Units |
oneChannelOutput | int | const | 0 | 0 | 0:1:1 |
Pins
Input Pins
Name: in1
Description: Audio input
...
Complex support: Real and Complex
Output Pins
Name: out
Description: Audio output
Data type: float
MATLAB Usage
File Name: adder_module.m
...