Overview
Overrides wire properties
Discussion
The SetWireProperties modules is used to override wire information in an Audio Weaver layout. It is used rarely when you need to change the channel or sample count, or the real/complex properties of a wire. One common use case is to convert a wire with 1 channel and a blockSize of N to a wire with N channels and a blockSize of 1. At instantiation time (in Module Name and Arguments in Audio Weaver Designer), you specify the output blockSize, channel count, sample rate, data type, and real/complex properties of the output wire.
...
The module's prebuild function checks to make sure that the number of samples in the output wire equals the number of samples in the input wire. If there is a mismatch in the number of samples then an error is thrown.
Type Definition
Code Block |
---|
typedef struct _ModuleSetWireProperties { ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure } ModuleSetWirePropertiesClass; |
Pins
Input Pins
Name: in
Description: Input signal
...
Complex support: Real and Complex
Output Pins
Name: out
Description: Output signal
Data type: float
MATLAB Usage
File Name: set_wire_properties_module.m
...