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
HephAudio::ParzenWindow Class Referencefinal

generates Parzen window. More...

#include <ParzenWindow.h>

Inheritance diagram for HephAudio::ParzenWindow:
HephAudio::Window

Public Member Functions

 ParzenWindow ()
 
 ParzenWindow (size_t size)
 
double operator[] (size_t n) const override
 
void SetSize (size_t newSize) override
 
- Public Member Functions inherited from HephAudio::Window
virtual ~Window ()=default
 
Heph::DoubleBuffer GenerateBuffer () const
 
size_t GetSize () const
 

Additional Inherited Members

- Protected Member Functions inherited from HephAudio::Window
 Window ()
 
 Window (size_t size)
 
- Protected Attributes inherited from HephAudio::Window
size_t size
 

Detailed Description

generates Parzen window.

Constructor & Destructor Documentation

◆ ParzenWindow() [1/2]

HephAudio::ParzenWindow::ParzenWindow ( )

creates a new instance and initializes it with default values.

◆ ParzenWindow() [2/2]

HephAudio::ParzenWindow::ParzenWindow ( size_t size)

creates a new instance and initializes it with the provided values.

Parameters
sizesize of the window

Member Function Documentation

◆ operator[]()

double HephAudio::ParzenWindow::operator[] ( size_t n) const
overridevirtual

calculates the sample at index n.

Implements HephAudio::Window.

◆ SetSize()

void HephAudio::ParzenWindow::SetSize ( size_t newSize)
overridevirtual

sets the size of the window.

Reimplemented from HephAudio::Window.