Zrythm v2.0.0-alpha.1
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::Position &start_position, const dsp::TempoMapWrapper &tempo_map_wrapper, QObject *parent=nullptr)
dsp::PositionstartOffset () const
dsp::PositionendOffset () 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::PositionstartOffset
zrythm::dsp::PositionendOffset
zrythm::dsp::CurveOptionsQmlAdapterfadeInCurveOpts
zrythm::dsp::CurveOptionsQmlAdapterfadeOutCurveOpts

Friends

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

Detailed Description

Definition at line 15 of file fadeable_object.h.

Member Function Documentation

◆ endOffset()

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

Definition at line 38 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::Position * zrythm::structure::arrangement::ArrangerObjectFadeRange::startOffset ( ) const
inline

Definition at line 37 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.

Property Documentation

◆ endOffset

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

Definition at line 19 of file fadeable_object.h.

◆ fadeInCurveOpts

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

Definition at line 20 of file fadeable_object.h.

◆ fadeOutCurveOpts

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

Definition at line 22 of file fadeable_object.h.

◆ startOffset

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

Definition at line 18 of file fadeable_object.h.


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