Zrythm v2.0.0-DEV
a highly automated and intuitive digital audio workstation
Loading...
Searching...
No Matches
zrythm::structure::arrangement::ArrangerObjectFadeRange Class Reference
Inheritance diagram for zrythm::structure::arrangement::ArrangerObjectFadeRange:
Collaboration diagram for zrythm::structure::arrangement::ArrangerObjectFadeRange:

Public Member Functions

 ArrangerObjectFadeRange (const dsp::AtomicPosition::TimeConversionFunctions &time_conversion_funcs, QObject *parent=nullptr)
dsp::AtomicPositionQmlAdapterstartOffset () const
dsp::AtomicPositionQmlAdapterendOffset () const
dsp::CurveOptionsQmlAdapterfadeInCurveOpts () const
dsp::CurveOptionsQmlAdapterfadeOutCurveOpts () const
Q_SIGNAL void fadePropertiesChanged ()
double get_normalized_y_for_fade (double x, bool fade_in) const
 Gets the normalized Y (ie, gain from 0-1) for a normalized X, for a fade.

Properties

zrythm::dsp::AtomicPositionQmlAdapterstartOffset
zrythm::dsp::AtomicPositionQmlAdapterendOffset
zrythm::dsp::CurveOptionsQmlAdapterfadeInCurveOpts

Friends

void init_from (ArrangerObjectFadeRange &obj, const ArrangerObjectFadeRange &other, utils::ObjectCloneType clone_type)
auto to_json (nlohmann::json &j, const ArrangerObjectFadeRange &object)
auto from_json (const nlohmann::json &j, ArrangerObjectFadeRange &object)

Detailed Description

Definition at line 12 of file fadeable_object.h.

Member Function Documentation

◆ endOffset()

dsp::AtomicPositionQmlAdapter * zrythm::structure::arrangement::ArrangerObjectFadeRange::endOffset ( ) const
inline

Definition at line 35 of file fadeable_object.h.

◆ fadeInCurveOpts()

dsp::CurveOptionsQmlAdapter * zrythm::structure::arrangement::ArrangerObjectFadeRange::fadeInCurveOpts ( ) const
inline

Definition at line 39 of file fadeable_object.h.

◆ fadeOutCurveOpts()

dsp::CurveOptionsQmlAdapter * zrythm::structure::arrangement::ArrangerObjectFadeRange::fadeOutCurveOpts ( ) const
inline

Definition at line 43 of file fadeable_object.h.

◆ get_normalized_y_for_fade()

double zrythm::structure::arrangement::ArrangerObjectFadeRange::get_normalized_y_for_fade ( double x,
bool fade_in ) const
inline

Gets the normalized Y (ie, gain from 0-1) for a normalized X, for a fade.

Parameters
xNormalized x.
fade_inTrue for in, false for out.

Definition at line 58 of file fadeable_object.h.

◆ startOffset()

dsp::AtomicPositionQmlAdapter * zrythm::structure::arrangement::ArrangerObjectFadeRange::startOffset ( ) const
inline

Definition at line 31 of file fadeable_object.h.

◆ from_json

auto from_json ( const nlohmann::json & j,
ArrangerObjectFadeRange & object )
friend

Definition at line 93 of file fadeable_object.h.

◆ init_from

void init_from ( ArrangerObjectFadeRange & obj,
const ArrangerObjectFadeRange & other,
utils::ObjectCloneType clone_type )
friend

Definition at line 69 of file fadeable_object.h.

◆ to_json

auto to_json ( nlohmann::json & j,
const ArrangerObjectFadeRange & object )
friend

Definition at line 85 of file fadeable_object.h.

Property Documentation

◆ endOffset

zrythm::dsp::AtomicPositionQmlAdapter * zrythm::structure::arrangement::ArrangerObjectFadeRange::endOffset
read

Definition at line 16 of file fadeable_object.h.

◆ fadeInCurveOpts

zrythm::dsp::CurveOptionsQmlAdapter * zrythm::structure::arrangement::ArrangerObjectFadeRange::fadeInCurveOpts
read

Definition at line 17 of file fadeable_object.h.

◆ startOffset

zrythm::dsp::AtomicPositionQmlAdapter * zrythm::structure::arrangement::ArrangerObjectFadeRange::startOffset
read

Definition at line 15 of file fadeable_object.h.


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