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
GaussianWindow.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 GaussianWindow final : public Window
14 {
15 private:
16 double sigma;
17 double hN;
18 double shN;
19
20 public:
23
25 GaussianWindow(size_t size);
26
32 GaussianWindow(size_t size, double sigma);
33
34 double operator[](size_t n) const override;
35 void SetSize(size_t newSize) override;
36
41 double GetSigma() const;
42
47 void SetSigma(double sigma);
48 };
49}
#define HEPH_API
Definition HephShared.h:132
generates Gaussian window.
Definition GaussianWindow.h:14
GaussianWindow(size_t size, double sigma)
void SetSize(size_t newSize) override
void SetSigma(double sigma)
double operator[](size_t n) const override
base class for windows.
Definition Window.h:14