(8.D.2.2) BlockFlip
Overview
Time flips blocks of data
Discussion
This module flips blocks of data in the time domain. The time flipping occurs on a block-by-block basis. That is, out[i]=in[blockSize-1-i], for i=0, 1, ..., blockSize-1.
Type Definition
typedef struct _ModuleBlockFlip
{
ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure
} ModuleBlockFlipClass;
Pins
Input Pins
Name: in
Description: Input signal
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_flip_module.m
M=block_flip_module(NAME)
Creates a block flip module for use in the Audio Weaver environment. The
module flips (reverses) blocks of data in the time domain.
Arguments:
NAME - name of the module.
The input and output have the same number of channels.
Â