Multiplier
Discussion
THIS MODULE IS DEPRECATED AND NOT RECOMMENDED FOR NEW DESIGNS. PLEASE USE THE MultiplierV2 MODULE INSTEAD.
Multi-input 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).
Module Pack
Deprecated
ClassID
classID = 2032
Type Definition
typedef struct _ModuleMultiplier
{
ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure
INT32 oneChannelOutput; // Boolean value that determines whether all channels are summed to form a single output.
} ModuleMultiplierClass;
Variables
Properties
| Name | Type | Usage | isHidden | Default Value | Range | Units |
|---|---|---|---|---|---|---|
| oneChannelOutput | int | const | 0 | 0 | Unrestricted |
Pins
Input Pins
| Name | in1 |
| Description | Audio input |
| Data type | float |
| Channel range | Unrestricted |
| Block size range | Unrestricted |
| Sample rate range | Unrestricted |
| Complex support | Real |
| Name | in2 |
| Description | Audio input |
| Data type | float |
| Channel range | Unrestricted |
| Block size range | Unrestricted |
| Sample rate range | Unrestricted |
| Complex support | Real |
Output Pins
| Name | out |
| Description | Audio output |
| Data Type | float |
Matlab Usage
File Name: multiplier_module.m
M=multiplier_module(NAME, NUMIN, ONECHANNELOUTPUT)
Creates a multi-input multiplier module for use in the Audio Weaver
Environment.
Arguments:
NAME - name of the module.
NUMIN - number of input pins.
ONECHANNELOUTPUT - Boolean value which determines if multi-channel
input signals are collapsed to a single output channel.
Copyright (c) 2026 DSP Concepts, Inc.