Overview
Multi-input complex multiplier
Discussion
Multi-input complex multiplier module. For single channel inputs, all of the inputs will be multiplied together. For multichannel inputs, the ONECHANNELOUTPUT argument determines whether all of the channels in each input will be multiplied together (ONECHANNELOUTPUT=1), or whether a given channel in one input will be multiplied by the corresponding channel in another input (ONECHANNELOUTPUT=0).
This module operates on fract32 data.
Type Definition
Code Block |
---|
typedef struct _ModuleComplexMultiplierFract32 { ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure INT32 oneChannelOutput; // Boolean value that determines whether all channels are summed to form a single output } ModuleComplexMultiplierFract32Class; |
Variables
Properties
Name | Type | Usage | isHidden | Default value | Range | Units |
oneChannelOutput | int | const | 0 | 0 | Unrestricted | oneChannelOutput |
Pins
Input Pins
Name: in1
Description: Audio input
...
Complex support: Real and Complex
Output Pins
Name: out
Description: Audio output
Data type: fract32
MATLAB Usage
File Name: complex_multiplier_fract32_module.m
...