| OpenShot Library | libopenshot
    0.4.0
    | 
 
 
 
Go to the documentation of this file.
   13 #ifndef OPENSHOT_WHISPERIZATION_AUDIO_EFFECT_H 
   14 #define OPENSHOT_WHISPERIZATION_AUDIO_EFFECT_H 
   15 #define _USE_MATH_DEFINES 
   21 #include "../EffectBase.h" 
   24 #include "../KeyFrame.h" 
   45         void init_effect_details();
 
   60         std::shared_ptr<openshot::Frame> 
GetFrame(int64_t frame_number)
 override {
 
   61             return GetFrame(std::make_shared<openshot::Frame>(), frame_number);
 
   64         std::shared_ptr<openshot::Frame>
 
   65         GetFrame(std::shared_ptr<openshot::Frame> frame, int64_t frame_number) 
override;
 
   68         std::string 
Json() 
const override; 
 
   69         void SetJson(
const std::string value) 
override; 
 
   73         std::string 
PropertiesJSON(int64_t requested_frame) 
const override;
 
   82             void modification(
const int channel) 
override;
 
   89         std::unique_ptr<juce::dsp::FFT> 
fft;
 
  
This abstract class is the base class, used by all effects in libopenshot.
std::string PropertiesJSON(int64_t requested_frame) const override
Json::Value JsonValue() const override
Generate Json::Value for this object.
This namespace is the default namespace for all code in the openshot library.
void SetJsonValue(const Json::Value root) override
Load Json::Value into this object.
void SetJson(const std::string value) override
Load JSON string into this object.
std::unique_ptr< juce::dsp::FFT > fft
std::recursive_mutex mutex
This class adds a whisperization effect into the audio.
std::string Json() const override
Generate JSON string of this object.
std::shared_ptr< openshot::Frame > GetFrame(int64_t frame_number) override
This method is required for all derived classes of ClipBase, and returns a new openshot::Frame object...
FFTSize
This enumeration determines the FFT size.
openshot::WindowType window_type
Whisperization()
Default constructor.
openshot::HopSize hop_size
openshot::FFTSize fft_size
HopSize
This enumeration determines the hop size.
WhisperizationEffect stft
WhisperizationEffect(Whisperization &p)
WindowType
This enumeration determines the window type.