Windows for spectral analysis.
These are generally double-precision, because they are mostly calculated during setup/reconfiguring, not real-time code.
Files | |
| file | windows.h | 
Classes | |
| class | signalsmith::windows::Kaiser | 
| The Kaiser window (almost) maximises the energy in the main-lobe compared to the side-lobes.  More... | |
| class | signalsmith::windows::ApproximateConfinedGaussian | 
| The Approximate Confined Gaussian window is (almost) optimal.  More... | |
Functions | |
| template<typename Data> | |
| void | signalsmith::windows::forcePerfectReconstruction (Data &&data, int windowLength, int interval) | 
| Forces STFT perfect-reconstruction (WOLA) on an existing window, for a given STFT interval.   | |
| void signalsmith::windows::forcePerfectReconstruction | ( | Data && | data, | 
| int | windowLength, | ||
| int | interval ) | 
Forces STFT perfect-reconstruction (WOLA) on an existing window, for a given STFT interval.
For example, here are perfect-reconstruction versions of the approximately-optimal Kaiser windows: