/
(8.D.2.6) Subtract
(8.D.2.6) Subtract
Overview
Subtracts the last input from all other inputs
Discussion
The subtract module subtracts the last input from all other inputs. With an N-pin input, the output will be N-1 pins, and the Nth input will have been subtracted from all other inputs. The number of channels in the input channels needs to be identical.
Type Definition
typedef struct _ModuleSubtract
{
ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure
} ModuleSubtractClass;
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 and Complex
Name: in2
Description: Audio input
Data type: {float}
Channel range: Unrestricted
Block size range: Unrestricted
Sample rate range: Unrestricted
Complex support: Real and Complex
Output Pins
Name: out1
Description: Audio output
Data type: {float}
MATLAB Usage
File Name: subtract_module.m
M=subtract_module(NAME, NUMIN)
Creates a multi-input subtract module for use in the Audio Weaver
environment.
Arguments:
NAME - name of the module.
NUMIN - number of input pins.
, multiple selections available,
Related content
(8.D.2.5) Subtract
(8.D.2.5) Subtract
More like this
(8.D.2.7) Subtract
(8.D.2.7) Subtract
More like this
(8.D.2.4) Subtract
(8.D.2.4) Subtract
More like this
(8.D.2.2) Subtract
(8.D.2.2) Subtract
More like this
(8.D.2.2 ) Subtract
(8.D.2.2 ) Subtract
More like this
Subtract
More like this