Skip to main content
Skip table of contents

NullSource

Overview

Source module with variable number of output pins which performs no computation

Discussion

Source module which serves as a source for unconnected wires in the layout. This module supports variable number of output pins.

Type Definition

CODE
typedef struct _ModuleNullSource
{
    ModuleInstanceDescriptor instance;            // Common Audio Weaver module instance structure
} ModuleNullSourceClass;

Pins

Output Pins

Name: out1

Description: Output signal

Data type: {float, int, fract32}

MATLAB Usage

File Name: null_source_module.m

CODE
 M=null_source_module(NAME, NUMCHANNELS, BLOCKSIZE, SAMPLERATE, DATATYPE, ISCOMPLEX, NUMPINS)
 This module serves as an source for unconnected wires in the layout. The
 processing function is called but performs no actual computation. This 
 module supports variable number of output pins.
 
 Arguments:
    NAME - name of the module.
    NUMCHANNELS - number of interleaved channels in each output pin.
    BLOCKSIZE - number of samples per output channel.
    SAMPLERATE - sample rate of the output signal, in Hz.
    DATATYPE - 'float', 'int', or 'fract32'
    ISCOMPLEX - 0 - no, 1 - yes
    NUMPINS - Optional: number of outputs. Default = 1 output.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.