HephAudio v3.0.6
A cross-platform C++ library for recording, playing, and processing audio on Windows, Android, Linux, iOS, and macOS.
Loading...
Searching...
No Matches
HannPoissonWindow.h
Go to the documentation of this file.
1#pragma once
2#include "HephAudioShared.h"
3#include "Window.h"
4
7namespace HephAudio
8{
13 class HEPH_API HannPoissonWindow final : public Window
14 {
15 private:
16 double N;
17
18 public:
20 double alpha;
21
22 public:
25
27 HannPoissonWindow(size_t size);
28
34 HannPoissonWindow(size_t size, double alpha);
35
36 double operator[](size_t n) const override;
37 void SetSize(size_t newSize) override;
38 };
39}
#define HEPH_API
Definition HephShared.h:132
generates Hann-Poisson window.
Definition HannPoissonWindow.h:14
void SetSize(size_t newSize) override
HannPoissonWindow(size_t size, double alpha)
double alpha
Definition HannPoissonWindow.h:20
double operator[](size_t n) const override
base class for windows.
Definition Window.h:14