arduino-audio-tools
Loading...
Searching...
No Matches
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
FlatTop Class Reference

FlatTop FFT Window function. More...

#include <FFTWindows.h>

Inheritance diagram for FlatTop:
WindowFunction

Public Member Functions

virtual void begin (int samples)
 Setup the window function providing the fft length.
 
float factor (int idx)
 
float factor_internal (int idx) override
 
const char * name () override
 
int samples ()
 Provides the number of samples (fft length)
 

Protected Member Functions

float ratio (int idx)
 

Protected Attributes

const float fourPi = 12.56637061f
 
int i_half_samples = 0
 
int i_samples = 0
 
float samples_minus_1 = 0.0f
 
const float sixPi = 18.84955593f
 
const float twoPi = 6.28318531f
 

Detailed Description

FlatTop FFT Window function.

Author
Phil Schatzmann

Member Function Documentation

◆ begin()

virtual void begin ( int  samples)
inlinevirtualinherited

Setup the window function providing the fft length.

Reimplemented in BufferedWindow.

◆ factor()

float factor ( int  idx)
inlineinherited

Provides the multipication factor at the indicated position. The result is symetrically mirrored around the center

◆ factor_internal()

float factor_internal ( int  idx)
inlineoverridevirtual

Implements WindowFunction.

◆ name()

const char * name ( )
inlineoverridevirtual

Implements WindowFunction.


The documentation for this class was generated from the following file:
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy