Overview
Squares samples
Discussion
Computes the square of all input samples using the math library. This module support an aribtrary number of channels, and each channel is squared individually.
Type Definition
Code Block |
---|
typedef struct _ModuleSquare { ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure } ModuleSquareClass; |
Pins
Input Pins
Name: in
Description: Input signal
...
Sample rate range: Unrestricted
Complex support: Real
Output Pins
Name: out
Description: Output signal
Data type: float
MATLAB Usage
File Name: square_module.m
...