Document toolboxDocument toolbox

(8.D.2.7) BlockConcatenate

Overview

Concatenates two or more blocks of data

Discussion

This module concatenates two or more input blocks. The input pins must have the same number of channels, and the output pin will inherit this channel count

Type Definition

typedef struct _ModuleBlockConcatenate { ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure } ModuleBlockConcatenateClass;

Pins

Input Pins

Name: in1

Description: Audio input

Data type: {float, int, fract32}

Channel range: Unrestricted

Block size range: Unrestricted

Sample rate range: Unrestricted

Complex support: Real and Complex

 

Name: in2

Description: Audio input

Data type: {float, int, fract32}

Channel range: Unrestricted

Block size range: Unrestricted

Sample rate range: Unrestricted

Complex support: Real and Complex

Output Pins

Name: out

Description: Output signal

Data type: {float, int, fract32}

MATLAB Usage

File Name: block_concatenate_module.m

M=block_concatenate_module(NAME, NUMINPINS) Creates a block concatenate module for use in the Audio Weaver environment. This module concatenates two or more input blocks. Arguments: NAME - name of the module. NUMINPINS - number of input pins. The input and output must have the same number of channels.

Â