ZeroSource
Overview
Outputs a constant value of zero
Discussion
This module fills the output wire with zeros. It is usually used as a source for unconnected module input wires. The properties of the output pin are specified when the module is allocated.
Type Definition
CODE
typedef struct _ModuleZeroSource
{
ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure
} ModuleZeroSourceClass;
Pins
Output Pins
Name: out
Description: Output signal
Data type: float
MATLAB Usage
File Name: zero_source_module.m
CODE
M=zero_source_module(NAME, NUMCHANNELS, BLOCKSIZE, SAMPLERATE, DATATYPE)
This module fills the output wire with zeros. It is used as cap off
unconnected module source pins.
Arguments:
NAME - name of the module.
NUMCHANNELS - number of channels in the output wire.
BLOCKSIZE - number of samples in the output wire.
SAMPLERATE - sample rate of the output wire.
DATATYPE - string specifying the data type of the output wire. Can be
either 'float', 'fract32', or 'int'.