Skip to content

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.

Module Pack

Standard

ClassID

classID = 235

Type Definition

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

Pins

Output Pins

Name out1
Description Output signal
Data Type float

Matlab Usage

File Name: null_source_module.m 
 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. 

Copyright (c) 2026 DSP Concepts, Inc.