(8.D.2.2) ProbeFract32
Overview
Source buffer holding 1 wire of data
Discussion
The probe module has an internal buffer holding 1 input or output wire's worth of data. The module continuously copies the data from the internal value buffer to the output wire or simply pass the data unchanged or copies the data from the input wire to internal buffer. The following table discusses the various operations types,. operationType = 0, pass the data unchanged.
operationType = 1, copy the data from input wire to internal buffer.
operationType = 2, copy the data from internal buffer to output wire.
Type Definition
typedef struct _ModuleProbeFract32
{
ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure
INT32 operationType; // Selects the type of operation that is implemented by the module: DATA_UNCHANGED=0 WIRE_TO_BUFFER=1 BUFFER_TO_WIRE=2
fract32* value; // Array of interleaved audio data
} ModuleProbeFract32Class;
Variables
Properties
Name | Type | Usage | isHidden | Default value | Range | Units |
operationType | int | parameter | 0 | 0 | 0:3 | Â |
value | fract32* | parameter | 0 | [32 x 1] | Unrestricted | Â |
Pins
Input Pins
Name: in
Description: input data
Data type: fract32
Channel range: Unrestricted
Block size range: Unrestricted
Sample rate range: Unrestricted
Complex support: Real
Output Pins
Name: out
Description: output data
Data type: fract32
MATLAB Usage
File Name: probe_fract32_module.m
M=probe_fract32_module(NAME)
Creates a probe module that allows you to inject test data into
the audio processing layout or copy the audio processed data or simply
pass the data unchanged. Arguments:
NAME - name of the module.
Â