Document toolboxDocument toolbox

Sin

Overview

Computes the function sin(x) using the math library

Discussion

Computes the function sin(x) using the math library.

Type Definition

typedef struct _ModuleSin { ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure } ModuleSinClass;

Pins

Input Pins

Name: in

Description: Input signal

Data type: float

Channel range: Unrestricted

Block size range: Unrestricted

Sample rate range: Unrestricted

Complex support: Real

Output Pins

Name: out

Description: Output signal

Data type: float

MATLAB Usage

File Name: sin_module.m

M=sin_module(NAME) Creates an Audio Weaver module that computes the function sin(x) using the standard math library. NAME - name of the module.

Â