Versions Compared

Key

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

Overview

Subtracts the last input from all other inputs

Discussion

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 in order for the module to properly work.

Type Definition

Code Block
typedef struct _ModuleSubtractInt32
{
    ModuleInstanceDescriptor instance;            // Common Audio Weaver module instance structure
} ModuleSubtractInt32Class;

Pins

Input Pins

Name: in1

Description: Audio input

...

Sample rate range: Unrestricted

Complex support: Real

Output Pins

Name: out1

Description: Audio output

Data type: int

MATLAB Usage

File Name: subtract_int_module.m

...