|
EchoMap 2026-07-25 6d3977c
An experimental cross-platform digital signal processing application for sound-source localisation.
|
The Blackman cosine-sum window. More...
#include <WindowFunctions.hpp>
Static Public Member Functions | |
| static float | operator() (std::size_t index, std::size_t size) noexcept |
| Maps the index into the Blackman function. | |
The Blackman cosine-sum window.
Definition at line 180 of file WindowFunctions.hpp.
|
staticnoexcept |
Maps the index into the Blackman function.
For a window of size \( M \), let \( N = M - 1 \).
\[ w[n] = 0.42 - 0.5\cos\left(\frac{2\pi n}{N}\right) + 0.08\cos\left(\frac{4\pi n}{N}\right) \]
for index \( n \).
This is the common approximate Blackman window, not the exact sidelobe-nulling Blackman variant.
| index | The index within the window. |
| size | The size of the window. |
Definition at line 65 of file WindowFunctions.cpp.