OpenShot Library | libopenshot
0.4.0
|
Go to the documentation of this file.
13 #ifndef OPENSHOT_ROBOTIZATION_AUDIO_EFFECT_H
14 #define OPENSHOT_ROBOTIZATION_AUDIO_EFFECT_H
15 #define _USE_MATH_DEFINES
46 void init_effect_details();
61 std::shared_ptr<openshot::Frame>
GetFrame(int64_t frame_number)
override {
62 return GetFrame(std::make_shared<openshot::Frame>(), frame_number);
65 std::shared_ptr<openshot::Frame>
66 GetFrame(std::shared_ptr<openshot::Frame> frame, int64_t frame_number)
override;
69 std::string
Json()
const override;
70 void SetJson(
const std::string value)
override;
74 std::string
PropertiesJSON(int64_t requested_frame)
const override;
83 void modification(
const int channel)
override;
90 std::unique_ptr<juce::dsp::FFT>
fft;
95 #endif // OPENSHOT_ROBOTIZATION_AUDIO_EFFECT_H
This abstract class is the base class, used by all effects in libopenshot.
openshot::FFTSize fft_size
This namespace is the default namespace for all code in the openshot library.
openshot::WindowType window_type
std::recursive_mutex mutex
Header file for EffectBase class.
void SetJsonValue(const Json::Value root) override
Load Json::Value into this object.
Header file for the Keyframe class.
std::string PropertiesJSON(int64_t requested_frame) const override
openshot::HopSize hop_size
RobotizationEffect(Robotization &p)
std::string Json() const override
Generate JSON string of this object.
FFTSize
This enumeration determines the FFT size.
void SetJson(const std::string value) override
Load JSON string into this object.
This class adds a robotization effect into the audio.
Json::Value JsonValue() const override
Generate Json::Value for this object.
Header file for TextReader class.
HopSize
This enumeration determines the hop size.
std::unique_ptr< juce::dsp::FFT > fft
Robotization()
Default constructor.
Header file for JSON class.
WindowType
This enumeration determines the window type.
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...