|
tracktion-engine 3.0-10-g034fdde4aa5
Tracktion Engine — High level data model for audio applications
« « « Anklang Documentation |
Classes | |
| struct | SplitBeatRange |
| Represents two beat ranges that can be split. More... | |
Public Member Functions | |
| void | start (BeatPosition) |
| Signifies that the clip has started at a given position. | |
| void | stop () |
| Signifies that the clip should stop. | |
| std::optional< BeatPosition > | getStart () const |
| If the clip has been started, this will return that position. | |
| SplitBeatRange | timelineRangeToClipSourceRange (BeatRange) const |
| Converts a timeline range (e.g. | |
| std::optional< float > | getProgress (BeatPosition) const |
| Returns the progress through a clip's source. | |
Static Public Member Functions | |
| static LauncherClipPlaybackHandle | forLooping (BeatRange loopRange, BeatDuration offset) |
| static LauncherClipPlaybackHandle | forOneShot (BeatRange clipRange) |
Definition at line 17 of file tracktion_LauncherClipPlaybackHandle.h.
| struct tracktion::engine::LauncherClipPlaybackHandle::SplitBeatRange |
Represents two beat ranges that can be split.
Definition at line 39 of file tracktion_LauncherClipPlaybackHandle.h.
| Class Members | ||
|---|---|---|
| bool | playing1 | |
| bool | playing2 | |
| BeatRange | range1 | |
| BeatRange | range2 | |
|
static |
Definition at line 15 of file tracktion_LauncherClipPlaybackHandle.cpp.
|
static |
Definition at line 28 of file tracktion_LauncherClipPlaybackHandle.cpp.
| std::optional< float > tracktion::engine::LauncherClipPlaybackHandle::getProgress | ( | BeatPosition | p | ) | const |
Returns the progress through a clip's source.
If the clip position is before the clip has started or after it has stopped, this will return nullopt.
Definition at line 178 of file tracktion_LauncherClipPlaybackHandle.cpp.
| std::optional< BeatPosition > tracktion::engine::LauncherClipPlaybackHandle::getStart | ( | ) | const |
If the clip has been started, this will return that position.
Definition at line 49 of file tracktion_LauncherClipPlaybackHandle.cpp.
| void tracktion::engine::LauncherClipPlaybackHandle::start | ( | BeatPosition | p | ) |
Signifies that the clip has started at a given position.
This allows the source range and progress functions to calculate their results.
Definition at line 39 of file tracktion_LauncherClipPlaybackHandle.cpp.
| void tracktion::engine::LauncherClipPlaybackHandle::stop | ( | ) |
Signifies that the clip should stop.
Definition at line 44 of file tracktion_LauncherClipPlaybackHandle.cpp.
| LauncherClipPlaybackHandle::SplitBeatRange tracktion::engine::LauncherClipPlaybackHandle::timelineRangeToClipSourceRange | ( | BeatRange | r | ) | const |
Converts a timeline range (e.g.
returned from LaunchHandle)
Definition at line 54 of file tracktion_LauncherClipPlaybackHandle.cpp.