/
(8.D.2.2) WindowCustom
(8.D.2.2) WindowCustom
Overview
This module applies a user defined window function to the input.
Discussion
This module applies a user defined window to the input. The input and output pin must have the same attributes. There is a "blocksize" argument that defines the input block size and the window size. This module will operate only on non-complex float samples.
Type Definition
typedef struct _ModuleWindowCustom
{
ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure
FLOAT32 amp; // The peak level of the window
FLOAT32* window; // Window coefficients
} ModuleWindowCustomClass;
Variables
Properties
Name | Type | Usage | isHidden | Default value | Range | Units |
amp | float | parameter | 0 | 1 | 0:1 |
|
window | float* | parameter | 0 | [128 x 1] | Unrestricted |
|
Pins
Input Pins
Name: in
Description: Input signal
Data type: float
Channel range: Unrestricted
Block size range: 128
Sample rate range: Unrestricted
Complex support: Real
Output Pins
Name: out
Description: Output signal
Data type: float
MATLAB Usage
File Name: window_custom_module.m
M=window_custom_module(NAME, BLOCKSIZE)
Creates a window_module for using in the Audio Weaver.
This module applies a user defined custom window to the input.
Arguments:
NAME - name of the module.
BLOCKSIZE - Input blockSize used for window size.
The input and output must have the same number of channels.
Copyright 2020. DSP Concepts, Inc. All Rights Reserved.
, multiple selections available,
Related content
(8.D.2.2 ) WindowCustom
(8.D.2.2 ) WindowCustom
More like this
(8.D.2.3) WindowCustom
(8.D.2.3) WindowCustom
More like this
(8.D.2.4) WindowCustom
(8.D.2.4) WindowCustom
More like this
(8.D.2.6) WindowCustom
(8.D.2.6) WindowCustom
More like this
(8.D.2.5) WindowCustom
(8.D.2.5) WindowCustom
More like this
(8.D.2.7) WindowCustom
(8.D.2.7) WindowCustom
More like this