Overview
Forward and inverse FFT of complex data
Discussion
Computes the forward or inverse FFT of complex data. The parameter .dir control whether a forward (= +1) or inverse (= -1) FFT is computed. The module supports multichannel signals.
Type Definition
Code Block |
---|
typedef struct _ModuleCfftFract32 { ModuleInstanceDescriptor instance; // Common Audio Weaver module instance structure INT32 dir; // Transform direction. Forward = 1. Inverse = -1 fract32 onebyBlockSize; // value of 1/BlockSize in fractional value } ModuleCfftFract32Class; |
Variables
Properties
Name | Type | Usage | isHidden | Default value | Range | Units |
dir | int | const | 0 | 1 | -1, 1 | |
onebyBlockSize | fract32 | derived | 0 | 0.5 | Unrestricted |
Pins
Input Pins
Name: in
Description: Complex input
...
Sample rate range: Unrestricted
Complex support: Complex
Output Pins
Name: out
Description: Complex output
Data type: fract32
Scratch Pins
Channel count: 1
Block size: 2
Sample rate: 48000
MATLAB Usage
File Name: cfft_fract32_module.m
...