AuxPort 0.2
Modules for Audio Software Development
|
Computes Window functions such as Hann,Hamming,Kaiser. More...
#include <AuxWindow.h>
Public Types | |
enum | Type { HannWin , HammWin , BlackmanWin , BartlettWin , BartlettHannWin , NuttallWin , FlatWin , BlackmanHarrisWin , RectangleWin } |
Specifies the type of window. More... | |
Static Public Member Functions | |
template<class sample > | |
static void | generate (std::vector< sample > &windowBuffer, const Type &windowType=Type::HannWin) |
Samples a Window function and fills it in a memory allocated std::vector. | |
template<class sample > | |
static std::vector< sample > | generate (size_t windowSize, Type windowType=Type::HannWin) |
Returns a std::vector with a Sampled Window Function. | |
Computes Window functions such as Hann,Hamming,Kaiser.
Definition at line 53 of file AuxWindow.h.
Specifies the type of window.
Definition at line 59 of file AuxWindow.h.
|
inlinestatic |
Returns a std::vector with a Sampled Window Function.
Definition at line 110 of file AuxWindow.h.
|
inlinestatic |
Samples a Window function and fills it in a memory allocated std::vector.
Definition at line 68 of file AuxWindow.h.