arduino-audio-tools
Loading...
Searching...
No Matches
Public Attributes | List of all members
audio_tools::AudioFFTConfig Struct Reference

Configuration for AudioFFT. If there are more then 1 channel the channel_used is defining which channel is used to perform the fft on. More...

#include <AudioFFT.h>

Inheritance diagram for audio_tools::AudioFFTConfig:
audio_tools::AudioBaseInfo

Public Attributes

void(* callback )(AudioFFTBase &fft) = nullptr
 Callback method which is called after we got a new result.
 
uint8_t channel_used = 0
 Channel which is used as input.
 
int length =8192
 
int stride =0
 
WindowFunctionwindow_function = nullptr
 Optional window function.
 
- Public Attributes inherited from audio_tools::AudioBaseInfo
int bits_per_sample =16
 
int channels = 0
 
int sample_rate = 0
 

Additional Inherited Members

- Public Member Functions inherited from audio_tools::AudioBaseInfo
 AudioBaseInfo (const AudioBaseInfo &)=default
 
void copyFrom (AudioBaseInfo info)
 
virtual void logInfo ()
 
bool operator!= (AudioBaseInfo alt)
 
AudioBaseInfooperator= (const AudioBaseInfo &info)
 
bool operator== (AudioBaseInfo alt)
 
void setAudioInfo (AudioBaseInfo info)
 

Detailed Description

Configuration for AudioFFT. If there are more then 1 channel the channel_used is defining which channel is used to perform the fft on.


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