|
TachyonUI 1.1.0
High-performance UI for building tools.
|
An audio track's sound on its lane. More...
#include <gui_controls/gui_timeline_types.h>
Public Member Functions | |
| bool | operator== (const TimelineClip &) const =default |
Public Attributes | |
| float | start = 0.0f |
| where it starts, in seconds | |
| float | length = 0.0f |
| how long it plays, in seconds | |
| float | offset = 0.0f |
| How far into the sound it starts playing, in seconds: trimming its start moves it on. | |
| float | sourceLength = 0.0f |
| The whole sound's length, in seconds, which peaks cover; 0: offset + length. | |
| std::vector< float > | peaks |
| The sound's loudness over its whole length, 0 to 1, evenly spaced: the waveform's bars. | |
An audio track's sound on its lane.
|
default |
| float tachyon::TimelineClip::start = 0.0f |
where it starts, in seconds
| float tachyon::TimelineClip::length = 0.0f |
how long it plays, in seconds
| float tachyon::TimelineClip::offset = 0.0f |
How far into the sound it starts playing, in seconds: trimming its start moves it on.
| float tachyon::TimelineClip::sourceLength = 0.0f |
The whole sound's length, in seconds, which peaks cover; 0: offset + length.
| std::vector<float> tachyon::TimelineClip::peaks |
The sound's loudness over its whole length, 0 to 1, evenly spaced: the waveform's bars.