Krotos Modules 3
Loading...
Searching...
No Matches
krotos::WindowFunctions Namespace Reference

Functions

std::vector< float > generateWindow (int sizeInSamples, WindowType windowType)
 
Eigen::VectorXf generateWindowEigen (int sizeInSamples, WindowType windowType)
 
float getWindowGainCorrection (int sizeInSamples, WindowType windowType)
 

Function Documentation

◆ generateWindow()

std::vector< float > krotos::WindowFunctions::generateWindow ( int sizeInSamples,
WindowType windowType )
inline

Sets the window function buffers. Much more useful to code them ourselves rather than rely on JUCE WindowingFunction which cannot change it's size without reallocating memory, which is something we dont want to do.

◆ generateWindowEigen()

Eigen::VectorXf krotos::WindowFunctions::generateWindowEigen ( int sizeInSamples,
WindowType windowType )
inline

◆ getWindowGainCorrection()

float krotos::WindowFunctions::getWindowGainCorrection ( int sizeInSamples,
WindowType windowType )
inline