Skip to content

GetWireProperties

Overview

Get Wire Properties

Discussion

This module implements wire properties query.

Block Size - Wire block size in samples.

Number Channels - Number of interleaved channels.

Sample Rate - Sample rate in hertz.

Data Type - 1 - Float, 2 - Fract32, 3 - Int.

Is Complex - Is the data complex.

Module Pack

Advanced

ClassID

classID = 1390

Type Definition

typedef struct _ModuleGetWireProperties
{
ModuleInstanceDescriptor instance;            // Common Audio Weaver module instance structure
INT32 nVariableNdx;                           // Variable Index
INT32 BlockSize;                              // Block Size
INT32 NumChannels;                            // Number of Channels
INT32 SampleRate;                             // Sample Rate
INT32 DataType;                               // Data Type
INT32 IsComplex;                              // Is Complex
} ModuleGetWirePropertiesClass;

Variables

Properties

Name Type Usage isHidden Default Value Range Units
nVariableNdx int parameter 0 1 Unrestricted
BlockSize int const 0 32 Unrestricted
NumChannels int const 0 1 Unrestricted
SampleRate int const 0 48000 Unrestricted
DataType int const 0 1 Unrestricted
IsComplex int const 0 0 Unrestricted

Pins

Input Pins

Name input
Description Wire Property
Data type {float, int, fract32}
Channel range Unrestricted
Block size range Unrestricted
Sample rate range Unrestricted
Complex support Real and Complex

Output Pins

Name property
Description Wire Property
Data Type int

Matlab Usage

File Name: get_wire_properties_module.m 
 M = get_wire_properties_module(NAME) 
 Audio Weaver system variable module.  Arguments: 
   NAME - name of the module. 

 Copyright (c) 2019 DSP Concepts, Inc.  All Rights Reserved. 

Copyright (c) 2026 DSP Concepts, Inc.