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

Public Member Functions

 ArrangerObjectLoopRange (const ArrangerObjectBounds &bounds, QObject *parent=nullptr)
int get_num_loops (bool count_incomplete) const
 Returns the number of loops in the ArrangerObject, optionally including incomplete ones.
dsp::AtomicPositionQmlAdapterclipStartPosition () const
dsp::AtomicPositionQmlAdapterloopStartPosition () const
dsp::AtomicPositionQmlAdapterloopEndPosition () const
bool trackBounds () const
void setTrackBounds (bool track)
Q_SIGNAL void trackBoundsChanged (bool track)
bool looped () const
Q_SIGNAL void loopedChanged ()
Q_SIGNAL void loopableObjectPropertiesChanged ()
units::precise_tick_t get_loop_length_in_ticks () const
 Returns the length of the loop in ticks.
units::sample_t get_loop_length_in_frames () const
 Returns the length of the loop in frames.

Properties

zrythm::dsp::AtomicPositionQmlAdapterclipStartPosition
zrythm::dsp::AtomicPositionQmlAdapterloopStartPosition
zrythm::dsp::AtomicPositionQmlAdapterloopEndPosition
bool trackBounds
bool looped

Friends

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

Detailed Description

Definition at line 11 of file loopable_object.h.

Member Function Documentation

◆ clipStartPosition()

dsp::AtomicPositionQmlAdapter * zrythm::structure::arrangement::ArrangerObjectLoopRange::clipStartPosition ( ) const
inline

Definition at line 38 of file loopable_object.h.

◆ get_loop_length_in_frames()

units::sample_t zrythm::structure::arrangement::ArrangerObjectLoopRange::get_loop_length_in_frames ( ) const
inline

Returns the length of the loop in frames.

Definition at line 86 of file loopable_object.h.

◆ get_loop_length_in_ticks()

units::precise_tick_t zrythm::structure::arrangement::ArrangerObjectLoopRange::get_loop_length_in_ticks ( ) const
inline

Returns the length of the loop in ticks.

Definition at line 76 of file loopable_object.h.

◆ looped()

bool zrythm::structure::arrangement::ArrangerObjectLoopRange::looped ( ) const
inline

Definition at line 61 of file loopable_object.h.

◆ loopEndPosition()

dsp::AtomicPositionQmlAdapter * zrythm::structure::arrangement::ArrangerObjectLoopRange::loopEndPosition ( ) const
inline

Definition at line 46 of file loopable_object.h.

◆ loopStartPosition()

dsp::AtomicPositionQmlAdapter * zrythm::structure::arrangement::ArrangerObjectLoopRange::loopStartPosition ( ) const
inline

Definition at line 42 of file loopable_object.h.

◆ setTrackBounds()

void zrythm::structure::arrangement::ArrangerObjectLoopRange::setTrackBounds ( bool track)
inline

Definition at line 51 of file loopable_object.h.

◆ trackBounds()

bool zrythm::structure::arrangement::ArrangerObjectLoopRange::trackBounds ( ) const
inline

Definition at line 50 of file loopable_object.h.

◆ from_json

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

Definition at line 111 of file loopable_object.h.

◆ init_from

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

Definition at line 120 of file loopable_object.h.

◆ to_json

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

Definition at line 103 of file loopable_object.h.

Property Documentation

◆ clipStartPosition

zrythm::dsp::AtomicPositionQmlAdapter * zrythm::structure::arrangement::ArrangerObjectLoopRange::clipStartPosition
read

Definition at line 14 of file loopable_object.h.

◆ looped

bool zrythm::structure::arrangement::ArrangerObjectLoopRange::looped
read

Definition at line 19 of file loopable_object.h.

◆ loopEndPosition

zrythm::dsp::AtomicPositionQmlAdapter * zrythm::structure::arrangement::ArrangerObjectLoopRange::loopEndPosition
read

Definition at line 16 of file loopable_object.h.

◆ loopStartPosition

zrythm::dsp::AtomicPositionQmlAdapter * zrythm::structure::arrangement::ArrangerObjectLoopRange::loopStartPosition
read

Definition at line 15 of file loopable_object.h.

◆ trackBounds

bool zrythm::structure::arrangement::ArrangerObjectLoopRange::trackBounds
readwrite

Definition at line 18 of file loopable_object.h.


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