|
qm-dsp 1.8
|
Various shaped windows for sample frame conditioning, including cosine windows (Hann etc) and triangular and rectangular windows. More...
#include <Window.h>
Public Member Functions | |
| Window (WindowType type, int size) | |
| Construct a windower of the given type and size. | |
| Window (const Window &w) | |
| Window & | operator= (const Window &w) |
| virtual | ~Window () |
| void | cut (T *src) const |
| void | cut (const T *src, T *dst) const |
| WindowType | getType () const |
| int | getSize () const |
| std::vector< T > | getWindowData () const |
Protected Member Functions | |
| void | encache () |
Protected Attributes | |
| WindowType | m_type |
| int | m_size |
| T * | m_cache |
Various shaped windows for sample frame conditioning, including cosine windows (Hann etc) and triangular and rectangular windows.
|
inline |
Construct a windower of the given type and size.
Note that the cosine windows are periodic by design, rather than symmetrical. (A window of size N is equivalent to a symmetrical window of size N+1 with the final element missing.)
Definition at line 50 of file Window.h.
References encache(), m_size, and m_type.
Referenced by operator=(), and Window().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
Definition at line 86 of file Window.h.
References BartlettWindow, BlackmanHarrisWindow, BlackmanWindow, HammingWindow, HanningWindow, m_cache, m_size, m_type, and RectangularWindow.
Referenced by operator=(), Window(), and Window().
|
protected |
|
protected |
Definition at line 79 of file Window.h.
Referenced by cut(), encache(), getSize(), getWindowData(), operator=(), Window(), and Window().
|
protected |