OpenShot Library | libopenshot
0.4.0
|
Go to the documentation of this file.
7 #ifndef OPENSHOT_STFT_AUDIO_EFFECT_H
8 #define OPENSHOT_STFT_AUDIO_EFFECT_H
9 #define _USE_MATH_DEFINES
14 #include <AppConfig.h>
15 #include <juce_audio_basics/juce_audio_basics.h>
16 #include <juce_dsp/juce_dsp.h>
28 void setup(
const int num_input_channels);
32 void updateParameters(
const int new_fft_size,
const int new_overlap,
const int new_window_type);
42 virtual void modification(
const int channel);
44 virtual void analysis(
const int channel);
46 virtual void synthesis(
const int channel);
53 std::unique_ptr<juce::dsp::FFT>
fft;
This namespace is the default namespace for all code in the openshot library.
int current_output_buffer_write_position
std::unique_ptr< juce::dsp::FFT > fft
int current_input_buffer_write_position
Header file for EffectBase class.
virtual void updateFftSize(const int new_fft_size)
virtual void updateHopSize(const int new_overlap)
juce::HeapBlock< juce::dsp::Complex< float > > frequency_domain_buffer
int current_output_buffer_read_position
int samples_since_last_FFT
void process(juce::AudioBuffer< float > &block)
float window_scale_factor
juce::AudioBuffer< float > input_buffer
virtual void updateWindow(const int new_window_type)
int output_buffer_read_position
Header file for TextReader class.
void updateParameters(const int new_fft_size, const int new_overlap, const int new_window_type)
juce::HeapBlock< juce::dsp::Complex< float > > time_domain_buffer
juce::AudioBuffer< float > output_buffer
int input_buffer_write_position
int output_buffer_write_position
void setup(const int num_input_channels)
juce::HeapBlock< float > fft_window
int current_samples_since_last_FFT