A class which provides multiple windowing functions useful for filter design and spectrum analyzers. More...
#include <juce_Windowing.h>
Public Types | |
enum | WindowingMethod { rectangular = 0, triangular, hann, hamming, blackman, blackmanHarris, flatTop, kaiser, numWindowingMethods } |
Public Member Functions | |
WindowingFunction (size_t size, WindowingMethod, bool normalize=true, FloatType beta=0) | |
void | fillWindowingTables (size_t size, WindowingMethod type, bool normalize=true, FloatType beta=0) noexcept |
Fills the content of an array with a given windowing method table. More... | |
void | multiplyWithWindowingTable (FloatType *samples, size_t size) noexcept |
Multiply the content of a buffer with the given window. More... | |
Static Public Member Functions | |
static void | fillWindowingTables (FloatType *samples, size_t size, WindowingMethod, bool normalize=true, FloatType beta=0) noexcept |
Fills the content of an array with a given windowing method table. More... | |
static const char * | getWindowingMethodName (WindowingMethod) noexcept |
Returns the name of a given windowing method. More... | |
Private Attributes | |
Array< FloatType > | windowTable |
A class which provides multiple windowing functions useful for filter design and spectrum analyzers.
{DSP}
enum juce::dsp::WindowingFunction::WindowingMethod |
juce::dsp::WindowingFunction< FloatType >::WindowingFunction | ( | size_t | size, |
WindowingMethod | , | ||
bool | normalize = true , |
||
FloatType | beta = 0 |
||
) |
|
noexcept |
Fills the content of an array with a given windowing method table.
|
staticnoexcept |
Fills the content of an array with a given windowing method table.
|
staticnoexcept |
Returns the name of a given windowing method.
|
noexcept |
Multiply the content of a buffer with the given window.
|
private |