|
Zrythm v2.0.0-alpha.1
a highly automated and intuitive digital audio workstation
|
A Position whose ticks are content-space (clip-local) ticks. More...
#include <src/dsp/position.h>


Public Member Functions | |
| ContentTick | asTick () const |
| Position (QObject *parent=nullptr) | |
| Construct a Position without a value constraint. | |
| Position (ConstraintFunction constraint, QObject *parent=nullptr) | |
| Construct a Position with a value constraint. | |
| Public Member Functions inherited from zrythm::dsp::Position | |
| Position (QObject *parent=nullptr) | |
| Construct a Position without a value constraint. | |
| Position (ConstraintFunction constraint, QObject *parent=nullptr) | |
| Construct a Position with a value constraint. | |
| double | ticks () const |
| The stored tick value (meaning depends on owner context). | |
| void | setTicks (double ticks) |
| void | set_ticks_without_constraint (double ticks) |
| Set ticks without applying constraint_. | |
| Q_INVOKABLE void | addTicks (double ticks) |
Additional Inherited Members | |
| Public Types inherited from zrythm::dsp::Position | |
| using | ConstraintFunction |
| Function that clamps/adjusts tick values on setTicks (e.g. | |
| Signals inherited from zrythm::dsp::Position | |
| void | positionChanged () |
| Properties inherited from zrythm::dsp::Position | |
| double | ticks |
A Position whose ticks are content-space (clip-local) ticks.
All durations, loop bounds, and fade offsets are ContentPosition. Convert to timeline coordinates via ContentTimeWarp::contentToTimeline().
Definition at line 117 of file position.h.
|
inline |
Definition at line 126 of file position.h.
|
explicit |
Construct a Position with a value constraint.
| constraint | Function that clamps/adjusts tick values on setTicks (e.g. min-length enforcement). |
| parent | QObject parent. |
|
explicit |
Construct a Position without a value constraint.
| parent | QObject parent. |