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

Buffered window function, so that we do not need to re-calculate the values. More...

#include <FFTWindows.h>

Inheritance diagram for audio_tools::BufferedWindow:
audio_tools::WindowFunction

Public Member Functions

 BufferedWindow (BufferedWindow const &)=delete
 
 BufferedWindow (WindowFunction *wf)
 
virtual void begin (int samples)
 
float factor (int idx)
 
BufferedWindowoperator= (BufferedWindow const &)=delete
 
- Public Member Functions inherited from audio_tools::WindowFunction
virtual void begin (int samples)
 
virtual float factor (int idx)=0
 
float ratio (int idx)
 
int samples ()
 

Protected Attributes

int len
 
float * p_buffer = nullptr
 
WindowFunctionp_wf = nullptr
 
- Protected Attributes inherited from audio_tools::WindowFunction
const float fourPi = 12.56637061
 
int i_samples = 0
 
float samples_minus_1 = 0
 
const float sixPi = 18.84955593
 
const float twoPi = 6.28318531
 

Detailed Description

Buffered window function, so that we do not need to re-calculate the values.

Author
Phil Schatzmann

Member Function Documentation

◆ begin()

virtual void audio_tools::BufferedWindow::begin ( int  samples)
inlinevirtual

Reimplemented from audio_tools::WindowFunction.

◆ factor()

float audio_tools::BufferedWindow::factor ( int  idx)
inlinevirtual

The documentation for this class was generated from the following file: