-
Notifications
You must be signed in to change notification settings - Fork 241
FFT
Fast Fourier Transform with an arbitrary number of samples.
void FFT(XMVECTOR* pReal, XMVECTOR* pImaginary,
const XMVECTOR* pUnityTable,
const size_t uLength, const size_t uCount=1);
[in, out] Real components of the FFT. Must have as least (uLength × uCount) ÷ 4 elements.
[in, out] Imaginary components of the FFT. Must have at least (uLength × uCount) ÷ 4 elements.
[in] Unity table the FFT should use. Must have at least uLength × uCount XVECTORs. See FFTInitializeUnityTable for more information.
[in] FFT length in samples. uLength must be a power of two and must be greater than 16.
[in] Number of FFT iterations.
For FFTs with a number of samples less than or equal to 16 use FFT16, FFT8 or FFT4.
All buffer parameters must be 16-byte aligned. Audio data must be 32-bit float mono.
This performs a split-radix FFT, radix 4 and 2.
All content and source code for this package are subject to the terms of the MIT License.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact [email protected] with any additional questions or comments.
- Universal Windows Platform apps
- Windows desktop apps
- Windows 11
- Windows 10
- Windows 8.1
- Xbox One
- Xbox Series X|S
- Windows Subsystem for Linux
- x86
- x64
- ARM64
- Visual Studio 2022
- Visual Studio 2019 (16.11)
- clang/LLVM v12 - v18
- GCC 10.5, 11.4, 12.3
- MinGW 12.2, 13.2
- Intel Classic Compiler
- Intel oneAPI Compiler
DirectX Tool Kit for DirectX 11