Squares samples
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.
typedef struct _ModuleSquare { ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure } ModuleSquareClass; |
Name: in
Description: Input signal
Data type: float
Channel range: Unrestricted
Block size range: Unrestricted
Sample rate range: Unrestricted
Complex support: Real
Name: out
Description: Output signal
Data type: float
File Name: square_module.m
M=square_module(NAME) Creates an Audio Weaver module that squares all samples. The module supports an arbitrary number of channels and each channel is individually squared. Arguments: NAME - name of the module. |