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
TukeyWindow.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 TukeyWindow final : public Window
14 {
15 private:
16 double alpha;
17 double N;
18 double hN;
19 double aN;
20 double haN;
21
22 public:
25
27 TukeyWindow(size_t size);
28
34 TukeyWindow(size_t size, double alpha);
35
36 double operator[](size_t n) const override;
37 void SetSize(size_t newSize) override;
38
43 double GetAlpha() const;
44
49 void SetAlpha(double alpha);
50 };
51}
#define HEPH_API
Definition HephShared.h:132
generates Tukey window.
Definition TukeyWindow.h:14
TukeyWindow(size_t size)
double GetAlpha() const
void SetAlpha(double alpha)
double operator[](size_t n) const override
void SetSize(size_t newSize) override
TukeyWindow(size_t size, double alpha)
base class for windows.
Definition Window.h:14